The autofocus attribute of the control.
The disabled state of the component
[disabled=false]
The distance of the select dropdown from its input.
Control the validity of the control.
Whether the component dropdown should be kept open on clicking outside of it.
keep-open-on-outside-click
Whether the component dropdown should be kept open on selection.
keep-open-on-select
The label attribute of the control.
The name attribute of the control.
Sets the open state of the component.
The outlined attribute of the control.
The placeholder attribute of the control.
The preferred placement of the select dropdown around its input.
Makes the control a required field in a form context.
Determines the behavior of the component during scrolling of the parent container.
scroll-strategy
Static
stylesStatic
Readonly
tagReturns the HTMLFormElement associated with this element.
Returns the groups of the igc-select component.
Returns the items of the igc-select component.
Returns the selected item from the dropdown or null.
A string containing the validation message of this element.
Returns a ValidityState object which represents the different validity states the element can be in, with respect to constraint validation.
The value attribute of the control.
A boolean value which returns true if the element is a submittable element that is a candidate for constraint validation.
Navigates to the item with the specified value. If it exists, returns the found item, otherwise - null.
Navigates to the item at the specified index. If it exists, returns the found item, otherwise - null.
Selects the item with the specified value. If it exists, returns the found item, otherwise - null.
Selects the item at the specified index. If it exists, returns the found item, otherwise - null.
Static
register
Represents a control that provides a menu of options.
Element
igc-select
Slot
Slot
prefix - Renders content before the input.
Slot
suffix - Renders content after input.
Slot
header - Renders a container before the list of options.
Slot
footer - Renders a container after the list of options.
Slot
helper-text - Renders content below the input.
Slot
toggle-icon - Renders content inside the suffix container.
Slot
toggle-icon-expanded - Renders content for the toggle icon when the component is in open state.
Fires
igcFocus - Emitted when the select gains focus.
Fires
igcBlur - Emitted when the select loses focus.
Fires
igcChange - Emitted when the control's checked state changes.
Fires
igcOpening - Emitted just before the list of options is opened.
Fires
igcOpened - Emitted after the list of options is opened.
Fires
igcClosing - Emitter just before the list of options is closed.
Fires
igcClosed - Emitted after the list of options is closed.
Csspart
list - The list of options wrapper.
Csspart
input - The encapsulated igc-input.
Csspart
label - The encapsulated text label.
Csspart
prefix - The prefix wrapper.
Csspart
suffix - The suffix wrapper.
Csspart
toggle-icon - The toggle icon wrapper.
Csspart
helper-text - The helper text wrapper.