Set valid input mode values for the inputmode attribute
This commit is contained in:
parent
9d8b6245e8
commit
4a68465f12
1 changed files with 3 additions and 2 deletions
|
@ -122,14 +122,14 @@ export function getHTML5TagProvider(): IHTMLTagProvider {
|
|||
legend: none,
|
||||
label: ['form', 'for'],
|
||||
input: ['accept', 'alt', 'autocomplete:o', 'autofocus:v', 'checked:v', 'dirname', 'disabled:v', 'form', 'formaction', 'formenctype:et',
|
||||
'formmethod:m', 'formnovalidate:v', 'formtarget', 'height', 'inputmode', 'list', 'max', 'maxlength', 'min', 'minlength', 'multiple:v', 'name',
|
||||
'formmethod:m', 'formnovalidate:v', 'formtarget', 'height', 'inputmode:im', 'list', 'max', 'maxlength', 'min', 'minlength', 'multiple:v', 'name',
|
||||
'pattern', 'placeholder', 'readonly:v', 'required:v', 'size', 'src', 'step', 'type:t', 'value', 'width'],
|
||||
button: ['autofocus:v', 'disabled:v', 'form', 'formaction', 'formenctype:et', 'formmethod:m', 'formnovalidate:v', 'formtarget', 'name', 'type:bt', 'value'],
|
||||
select: ['autocomplete:o', 'autofocus:v', 'disabled:v', 'form', 'multiple:v', 'name', 'required:v', 'size'],
|
||||
datalist: none,
|
||||
optgroup: ['disabled:v', 'label'],
|
||||
option: ['disabled:v', 'label', 'selected:v', 'value'],
|
||||
textarea: ['autocomplete:o', 'autofocus:v', 'cols', 'dirname', 'disabled:v', 'form', 'inputmode', 'maxlength', 'minlength', 'name', 'placeholder', 'readonly:v', 'required:v', 'rows', 'wrap'],
|
||||
textarea: ['autocomplete:o', 'autofocus:v', 'cols', 'dirname', 'disabled:v', 'form', 'inputmode:im', 'maxlength', 'minlength', 'name', 'placeholder', 'readonly:v', 'required:v', 'rows', 'wrap'],
|
||||
keygen: ['autofocus:v', 'challenge', 'disabled:v', 'form', 'keytype', 'name'],
|
||||
output: ['for', 'form', 'name'],
|
||||
progress: ['value', 'max'],
|
||||
|
@ -161,6 +161,7 @@ export function getHTML5TagProvider(): IHTMLTagProvider {
|
|||
m: ['get', 'post'],
|
||||
o: ['on', 'off'],
|
||||
t: ['hidden', 'text', 'search', 'tel', 'url', 'email', 'password', 'datetime', 'date', 'month', 'week', 'time', 'datetime-local', 'number', 'range', 'color', 'checkbox', 'radio', 'file', 'submit', 'image', 'reset', 'button'],
|
||||
im: ['verbatim', 'latin', 'latin-name', 'latin-prose', 'full-width-latin', 'kana', 'kana-name', 'katakana', 'numeric', 'tel', 'email', 'url'],
|
||||
bt: ['button', 'submit', 'reset', 'menu'],
|
||||
lt: ['1', 'a', 'A', 'i', 'I'],
|
||||
mt: ['context', 'toolbar'],
|
||||
|
|
Loading…
Reference in a new issue