Skip to content

Commit

Permalink
Allow inputmode attribute for Text_Field
Browse files Browse the repository at this point in the history
  • Loading branch information
HTMLBurger-NG committed Feb 22, 2023
1 parent 43016a3 commit 4b6093e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Field/Text_Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ class Text_Field extends Field {
/**
* {@inheritDoc}
*/
protected $allowed_attributes = array( 'list', 'max', 'maxLength', 'min', 'pattern', 'placeholder', 'readOnly', 'step', 'type', 'is' );
protected $allowed_attributes = array( 'list', 'max', 'maxLength', 'min', 'pattern', 'placeholder', 'readOnly', 'step', 'type', 'is', 'inputmode' );
}

0 comments on commit 4b6093e

Please sign in to comment.