Skip to content

Commit

Permalink
Allow ActionInput type=color
Browse files Browse the repository at this point in the history
Ref https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input/email

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
  • Loading branch information
tcitworld committed Jan 13, 2021
1 parent 4c57164 commit 4b74712
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/ActionInput/ActionInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ export default {
validator(type) {
return ['date', 'datetime-local', 'month',
'number', 'password', 'search', 'tel',
'text', 'time', 'url', 'week', 'color'].indexOf(type) > -1
'text', 'time', 'url', 'week', 'color',
'email'].indexOf(type) > -1
},
},
/**
Expand Down

0 comments on commit 4b74712

Please sign in to comment.