mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix #1467 show default value for url and email extra vars
This commit is contained in:
parent
1a05fc97ae
commit
373c563469
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
<input type="url" name="{{ $input_name }}"
|
||||
id="{{ $input_id }}"|if="$input_id" class="homepage rx_ev_url"
|
||||
style="{{ $definition->style }}"|if="$definition->style"
|
||||
value="{{ $value }}"
|
||||
value="{{ strval($value) !== '' ? $value : $default }}"
|
||||
@required(toBool($definition->is_required))
|
||||
@disabled(toBool($definition->is_disabled))
|
||||
@readonly(toBool($definition->is_readonly))
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
<input type="email" name="{{ $input_name }}"
|
||||
id="{{ $input_id }}"|if="$input_id" class="email_address rx_ev_email"
|
||||
style="{{ $definition->style }}"|if="$definition->style"
|
||||
value="{{ $value }}"
|
||||
value="{{ strval($value) !== '' ? $value : $default }}"
|
||||
@required(toBool($definition->is_required))
|
||||
@disabled(toBool($definition->is_disabled))
|
||||
@readonly(toBool($definition->is_readonly))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue