mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Add "Select" option at top of extravar select element
https://xetown.com/tips/1847057
This commit is contained in:
parent
33c1d9a117
commit
27fb793080
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
|||
@required(toBool($definition->is_required))
|
||||
@disabled(toBool($definition->is_disabled))
|
||||
@readonly(toBool($definition->is_readonly))>
|
||||
<option value="">@lang('cmd_select')</option>
|
||||
@foreach ($definition->getOptions() as $v)
|
||||
<option value="{{ $v }}" @selected($has_value ? in_array($v, $value) : ($v === $default_value))>{{ $v }}</option>
|
||||
@endforeach
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue