Integrate back-end for default value

This commit is contained in:
benguozakinci@gmail.com
2021-07-27 17:56:35 +03:00
parent a28dd087de
commit 1df7c8e87f
7 changed files with 37 additions and 3 deletions

View File

@ -16,16 +16,20 @@ class SelectItemButton extends Component
/** @var bool */
public $isPurchase;
/** @var int */
public $searchCharLimit;
/**
* Create a new component instance.
*
* @return void
*/
public function __construct(string $type = 'sale', bool $isSale = false, bool $isPurchase = false)
public function __construct(string $type = 'sale', bool $isSale = false, bool $isPurchase = false, int $searchCharLimit = 3)
{
$this->type = $type;
$this->isSale = $isSale;
$this->isPurchase = $isPurchase;
$this->searchCharLimit = $searchCharLimit;
}
/**