Use type="color" on badge color input field (#18825)
This informs browser to use interactive color pickerremotes/1703361221475462875/rebase/4.0.0rc1
parent
5d70a16a14
commit
42ff4dce41
|
@ -13,7 +13,7 @@
|
||||||
= f.input :position, wrapper: :with_label, input_html: { max: current_user.role.position - 1 }
|
= f.input :position, wrapper: :with_label, input_html: { max: current_user.role.position - 1 }
|
||||||
|
|
||||||
.fields-group
|
.fields-group
|
||||||
= f.input :color, wrapper: :with_label, input_html: { placeholder: '#000000' }
|
= f.input :color, wrapper: :with_label, input_html: { placeholder: '#000000', type: 'color' }
|
||||||
|
|
||||||
%hr.spacer/
|
%hr.spacer/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue