Fixed default account issue..

This commit is contained in:
Cüneyt Şentürk
2022-06-09 15:54:03 +03:00
parent 5faa63e3d5
commit cec31b4f43
6 changed files with 10 additions and 32 deletions

View File

@ -90,6 +90,9 @@ abstract class Form extends Component
/** @var array */
public $dynamicAttributes = [];
/** @var bool */
public $hideCurrency;
/**
* Create a new component instance.
*
@ -102,6 +105,7 @@ abstract class Form extends Component
bool $disabled = false, bool $readonly = false, bool $required = true, bool $notRequired = false,
string $formGroupClass = '', string $inputGroupClass = '',
$dynamicAttributes = '',
bool $hideCurrency = false
) {
$this->type = $this->getType($type);
$this->name = $this->getName($name);
@ -133,6 +137,8 @@ abstract class Form extends Component
$this->custom_attributes = $this->getCustomAttributes();
$this->setDynamicAttributes($dynamicAttributes);
$this->hideCurrency = $hideCurrency;
}
protected function getType($type)