Skip to content

Commit 6d23139

Browse files
committed
Merge pull request #69 from michaelbromley/master
Add minLength property to input & textarea
2 parents d7ad537 + 470ed40 commit 6d23139

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

baselines/dom.generated.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5126,6 +5126,7 @@ interface HTMLInputElement extends HTMLElement {
51265126
* Returns whether an element will successfully validate based on forms validation rules and constraints.
51275127
*/
51285128
willValidate: boolean;
5129+
minLength: number;
51295130
/**
51305131
* Returns whether a form will validate when it is submitted, without having to submit it.
51315132
*/
@@ -6631,6 +6632,7 @@ interface HTMLTextAreaElement extends HTMLElement {
66316632
* Sets or retrieves how to handle wordwrapping in the object.
66326633
*/
66336634
wrap: string;
6635+
minLength: number;
66346636
/**
66356637
* Returns whether a form will validate when it is submitted, without having to submit it.
66366638
*/

inputfiles/addedTypes.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,5 +400,17 @@
400400
"interface": "Element",
401401
"name": "getElementsByTagName",
402402
"signatures": ["getElementsByTagName(tagname: \"picture\"): NodeListOf<HTMLPictureElement>"]
403+
},
404+
{
405+
"kind": "property",
406+
"interface": "HTMLInputElement",
407+
"name": "minLength",
408+
"type": "number"
409+
},
410+
{
411+
"kind": "property",
412+
"interface": "HTMLTextAreaElement",
413+
"name": "minLength",
414+
"type": "number"
403415
}
404416
]

0 commit comments

Comments
 (0)