<nve-control>
Properties
Sets the input to match native default content block
true
false
Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select)
true
false
Enables internal string values to update for internationalization.
Controls the directional arrangement and spacing behavior of the element's content.
vertical Arranges content in a vertical stack with block-level spacing.
vertical-inline Arranges content vertically with compact inline spacing for dense layouts.
horizontal Arranges content in a horizontal row with block-level spacing.
horizontal-inline Arranges content horizontally with compact inline spacing.
Set the visual prominence of the control
muted
Set current visual state for control. This overrides any validation states active.
warning
error
success
disabled
Events
Slots
Control input element
Label element
Methods
reset(): unknown
Resets control value to initial attribute value and clears any active validation rules.
CSS Properties
<nve-control-message>
Properties
Validation error code for current form control https://developer.mozilla.org/en-US/docs/Web/API/ValidityState
badInput
customError
patternMismatch
rangeOverflow
rangeUnderflow
stepMismatch
tooLong
tooShort
typeMismatch
valid
valueMissing
null
Visual treatment for current form control validation status
warning
error
success
disabled
Slots
Validation or supporting message text for the associated control.
override the icon with a custom icon
CSS Parts
The icon element
<nve-control-group>
Properties
Returns the input elements associated with the control group.
Returns the label associated with the control group.
Controls the directional arrangement and spacing behavior of the element's content.
vertical Arranges content in a vertical stack with block-level spacing.
vertical-inline Arranges content vertically with compact inline spacing for dense layouts.
horizontal Arranges content in a horizontal row with block-level spacing.
horizontal-inline Arranges content horizontally with compact inline spacing.
Set the visual prominence of the control group
muted
Slots
Control input elements