Skip to content

Commit

Permalink
fix(input): use corrected list of allowed input attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
ro-ka committed Feb 11, 2016
1 parent 1fd93dd commit d623c65
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions src/filter-input-attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,27 @@
* Attributes allowed on input elements
*/
const allowedAttributes = [
'autocapitalize',
'autoComplete',
'autocorrect',
'autoFocus',
'autosave',
'disabled',
'form',
'formaction',
'formenctype',
'formmethod',
'formnovalidate',
'formtarget',
'formAction',
'formEncType',
'formMethod',
'formNoValidate',
'formTarget',
'height',
'id',
'inputmode',
'maxlength',
'maxlength',
'inputMode',
'maxLength',
'name',
'pattern',
'placeholder',
'readonly',
'readOnly',
'required',
'selectionDirection',
'size',
'spellcheck',
'tabindex'
'spellCheck',
'tabIndex'
];

/**
Expand Down

0 comments on commit d623c65

Please sign in to comment.