Emitted when the control's checked state changes.
Emitted when the control input receives user input.
Selects all text within the input.
Replaces the selected text in the input.
Decrements the numeric value of the input by one or more steps.
Increments the numeric value of the input by one or more steps.
The autocomplete attribute of the control.
The autofocus attribute of the control.
The input mode attribute of the control. See relevant MDN article
The max attribute of the control.
The maximum string length of the control.
The min attribute of the control.
The minimum string length required by the control.
The pattern attribute of the control.
The step attribute of the control.
The type attribute of the control.
Enables validation rules to be evaluated without restricting user input. This applies to the maxLength property for
string-type inputs or allows spin buttons to exceed the predefined min/max limits for number-type inputs.
The value of the control.
Slot
prefix - Renders content before the input.
Slot
suffix - Renders content after input.
Slot
helper-text - Renders content below the input.
Slot
value-missing - Renders content when the required validation fails.
Slot
type-mismatch - Renders content when the a type url/email input pattern validation fails.
Slot
pattern-mismatch - Renders content when the pattern validation fails.
Slot
too-long - Renders content when the maxlength validation fails.
Slot
too-short - Renders content when the minlength validation fails.
Slot
range-overflow - Renders content when the max validation fails.
Slot
range-underflow - Renders content when the min validation fails.
Slot
step-mismatch - Renders content when the step validation fails.
Slot
custom-error - Renders content when setCustomValidity(message) is set.
Slot
invalid - Renders content when the component is in invalid state (validity.valid = false).
Csspart
container - The main wrapper that holds all main input elements.
Csspart
input - The native input element.
Csspart
label - The native label element.
Csspart
prefix - The prefix wrapper.
Csspart
suffix - The suffix wrapper.
Csspart
helper-text - The helper text wrapper.