Add an ability to the AkauntingSelect component to show options as is, without sorting them.

This commit is contained in:
Pavel Mironchik
2021-06-29 15:48:08 +06:00
parent ba03cb409a
commit 47d67b7c7e
2 changed files with 49 additions and 35 deletions

View File

@ -46,7 +46,7 @@
@if (!empty($attributes['visible-change']))
@visible-change="{{ $attributes['visible-change'] }}"
@endif
@if (isset($attributes['readonly']))
:readonly="{{ $attributes['readonly'] }}"
@endif
@ -67,6 +67,10 @@
no-data-text="{{ trans('general.no_data') }}"
no-matching-data-text="{{ trans('general.no_matching_data') }}"
@if (isset($attributes['sort-options']))
:sort-options="{{ $attributes['sort-options'] }}"
@endif
></akaunting-select>
@stack($name . '_input_end')