From 935c53a5d9f6955acd42b1b30320d78ccf41ce0e Mon Sep 17 00:00:00 2001 From: "benguozakinci@gmail.com" Date: Tue, 27 Jul 2021 10:06:56 +0300 Subject: [PATCH] Add prop for limiting character by default --- resources/views/components/select-item-button.blade.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/views/components/select-item-button.blade.php b/resources/views/components/select-item-button.blade.php index 57ef2fc60..ffe81aa3e 100644 --- a/resources/views/components/select-item-button.blade.php +++ b/resources/views/components/select-item-button.blade.php @@ -6,6 +6,7 @@ price="{{ $price }}" :dynamic-currency="currency" :items="{{ json_encode($items) }}" + :search-char-limit="3" @item="onSelectedItem($event)" add-item-text="{{ trans('general.form.add_an', ['field' => trans_choice('general.items', 1)]) }}" create-new-item-text="{{ trans('general.title.create', ['type' => trans_choice('general.items', 1)]) }}"