Merge pull request #2429 from CihanSenturk/account-title

Account groups class added
This commit is contained in:
Denis Duliçi 2022-06-06 20:45:28 +03:00 committed by GitHub
commit 3f4d2aeef0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,13 +16,17 @@ class Account extends Form
/** @var bool */ /** @var bool */
public $hideCurrency; public $hideCurrency;
/** @var string */
public $formGroupClass;
/** /**
* Create a new component instance. * Create a new component instance.
* *
* @return void * @return void
*/ */
public function __construct(bool $hideCurrency = false) { public function __construct(bool $hideCurrency = false, string $formGroupClass = 'sm:col-span-3') {
$this->hideCurrency = $hideCurrency; $this->hideCurrency = $hideCurrency;
$this->formGroupClass = $formGroupClass;
} }
/** /**