mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix incorrect pattern due to template syntax
This commit is contained in:
parent
0ea9778682
commit
ad6aeb4c00
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@
|
|||
value="{{ $value }}"
|
||||
/>
|
||||
<input type="date" class="date" value="{{ $formatted_value }}"
|
||||
pattern="\d{4}-\d{2}-\d{2}" placeholder="YYYY-MM-DD"
|
||||
pattern="\d\d\d\d-\d\d-\d\d" placeholder="YYYY-MM-DD"
|
||||
style="{{ $definition->style }}"|if="$definition->style"
|
||||
onchange="jQuery(this).prev('.rx_ev_date').val(this.value.replace(/-/g, ''));"
|
||||
@required(toBool($definition->is_required))
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
@else
|
||||
<input type="time" name="{{ $input_name }}"
|
||||
id="{{ $input_id }}"|if="$input_id" class="rx_ev_time"
|
||||
value="{{ $value }}" pattern="\d{2}:\d{2}"
|
||||
value="{{ $value }}" pattern="\d\d:\d\d"
|
||||
style="{{ $definition->style }}"|if="$definition->style"
|
||||
@required(toBool($definition->is_required))
|
||||
@disabled(toBool($definition->is_disabled))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue