import { type HTMLSelectElement } from "https://deno.land/x/evt@v2.5.2/lib/types/lib.dom.ts";
A HTML Element. These elements also share all of the properties and methods of other HTML elements via the HTMLElement interface.
Index Signatures
Properties
Retrieves a reference to the form that the object is embedded in.
Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.
Retrieves the type of select control based on the value of the MULTIPLE attribute.
Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
Returns a ValidityState object that represents the validity states of an element.
Sets or retrieves the value which is returned to the server when the form control is submitted.
Methods
Adds an element to the areas, controlRange, or options collection.
Returns whether a form will validate when it is submitted, without having to submit it.
Retrieves a select object or an object from an options collection.
Retrieves a select object or an object from an options collection.
Sets a custom error message that is displayed when a form is submitted.