close #2940 Fixed: If setting use select element clearable, While It broken date and default values

This commit is contained in:
Cüneyt Şentürk
2023-03-16 10:56:14 +03:00
parent 497d36691b
commit 2101a5d95a
4 changed files with 20 additions and 14 deletions

View File

@ -28,6 +28,7 @@
name="{{ $field['name'] }}"
label="{{ trans($field['title']) }}"
:options="$field['values']"
:clearable="'false'"
:selected="setting($module->getAlias() . '.' . $field['name'], $field['selected'])"
:dynamic-attributes="$field['attributes']"
/>
@ -71,6 +72,7 @@
<x-form.group.account
:selected="$account"
:clearable="'false'"
:dynamic-attributes="$field['attributes']"
without-add-new
/>
@ -81,6 +83,7 @@
<x-form.group.category
:value="$category"
:clearable="'false'"
:dynamic-attributes="$field['attributes']"
without-add-new
/>