Skip to content

Commit

Permalink
Allow fieldset as element.
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixRilling committed Mar 16, 2021
1 parent 178fd77 commit 83d070a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/dom/ValidatableElement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
* The shared method of doing so is the respective #setCustomValidity(string) method.
*
* Some other elements also have such a method but are not suitable for Ok, such as
* {@link HTMLFieldSetElement}, {@link HTMLObjectElement} and {@link HTMLButtonElement}.
* {@link HTMLObjectElement} and {@link HTMLButtonElement}.
*/
export type ValidatableElement =
| HTMLInputElement
| HTMLTextAreaElement
| HTMLSelectElement;
| HTMLSelectElement
| HTMLFieldSetElement;

0 comments on commit 83d070a

Please sign in to comment.