mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-20 19:02:14 +09:00
input type=color can not be empty
https://www.w3.org/TR/2012/WD-html5-20120329/states-of-the-type-attribute.html#color-state-type-color
This commit is contained in:
parent
18c5778789
commit
f41e3f5907
9 changed files with 20 additions and 19 deletions
|
|
@ -49,7 +49,7 @@
|
|||
<input type="text" name="{$id}" />
|
||||
</block>
|
||||
<block cond="$var->type == 'color'">
|
||||
<input type="color" name="{$id}" value="" id="{$id}" class="rx-spectrum" style="width:178px" />
|
||||
<input type="text" name="{$id}" value="" id="{$id}" class="rx-spectrum" style="width:178px" />
|
||||
</block>
|
||||
<block cond="$var->type == 'textarea'">
|
||||
<textarea cond="$var->type == 'textarea'" name="{$id}" id="{$id}" rows="8" cols="42"></textarea>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue