The autofocus attribute of the control.
The disabled state of the component
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.
Whether the component dropdown should be kept open on selection.
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.
Static
Readonly
tagReturns the HTML-uppercased qualified name.
Returns 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.
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
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 wrapping container for the items of the igc-select.
Csspart
input - The encapsulated igc-input of the igc-select.
Csspart
label - The encapsulated text label of the igc-select.
Csspart
prefix - The prefix wrapper of the input of the igc-select.
Csspart
suffix - The suffix wrapper of the input of the igc-select.
Csspart
toggle-icon - The toggle icon wrapper of the igc-select.
Csspart
helper-text - The helper text wrapper of the igc-select.