mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix #1631 add number type to extra vars
This commit is contained in:
parent
3de4f786b7
commit
1a05fc97ae
3 changed files with 11 additions and 0 deletions
|
|
@ -16,6 +16,15 @@
|
|||
@disabled(toBool($definition->is_disabled))
|
||||
@readonly(toBool($definition->is_readonly))
|
||||
/>
|
||||
@elseif ($type === 'number')
|
||||
<input type="number" name="{{ $input_name }}"
|
||||
id="{{ $input_id }}"|if="$input_id" class="number rx_ev_number"
|
||||
style="{{ $definition->style }}"|if="$definition->style"
|
||||
value="{{ strval($value) !== '' ? $value : $default }}"
|
||||
@required(toBool($definition->is_required))
|
||||
@disabled(toBool($definition->is_disabled))
|
||||
@readonly(toBool($definition->is_readonly))
|
||||
/>
|
||||
@else
|
||||
<input type="text" name="{{ $input_name }}"
|
||||
id="{{ $input_id }}"|if="$input_id" class="text rx_ev_text"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue