Update valid input attributes for auto-complete
* Add minlength attribute * Update required attribute to a boolean attributepull/461/head
parent
55b9777169
commit
b3e1987e59
|
@ -119,8 +119,8 @@ export function getHTML5TagProvider(): IHTMLTagProvider {
|
|||
legend: none,
|
||||
label: ['form', 'for'],
|
||||
input: ['accept', 'alt', 'autocomplete:o', 'autofocus:v', 'checked:v', 'dirname', 'disabled:v', 'form', 'formaction', 'formenctype',
|
||||
'formmethod:m', 'formnovalidate:v', 'formtarget', 'height', 'inputmode', 'list', 'max', 'maxlength', 'min', 'multiple:v', 'name',
|
||||
'pattern', 'placeholder', 'readonly:v', 'required', 'size', 'src', 'step', 'type:t', 'value', 'width'],
|
||||
'formmethod:m', 'formnovalidate:v', 'formtarget', 'height', 'inputmode', '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', 'formmethod:m', 'formnovalidate:v', 'formtarget', 'name', 'type:bt', 'value'],
|
||||
select: ['autofocus:v', 'disabled:v', 'form', 'multiple:v', 'name', 'required:v', 'size'],
|
||||
datalist: none,
|
||||
|
|
Loading…
Reference in New Issue