ComboBoxAttributes
Attribute names of <vaadin-combo-box>, for use with setAttribute.
Properties
A space-separated list of IDs referencing the elements that describe the component for screen reader users. The referenced elements are announced in addition to the helper text and the error message.
String used to label the component for screen reader users.
A space-separated list of IDs referencing the elements that label the component for screen reader users.
If true, the user can input a value that is not present in the items list. value property will be set to the input value in this case. Also, when value is set programmatically, the input value will be set to reflect that value.
A pattern matched against individual characters the user inputs.
Set true to prevent the overlay from opening automatically.
If true, the input text gets fully selected when the field is focused using click or touch / tap.
Set to true to display the clear icon which clears the input. This also enables clearing the input when pressing Esc key.
Function that provides items lazily. Receives arguments params, callback
Error to show when the field is invalid.
String used for the helper text.
Path for the id of the item. If items is an array of objects, the itemIdPath is used to compare and identify the same item in the selection and in filteredItems (items given by the dataProvider callback).
Path for label of the item. If items is an array of objects, the itemLabelPath is used to fetch the displayed string label for each item.
Path for the value of the item. If items is an array of objects, the itemValuePath: is used to fetch the string value for the selected item.
Set to true to enable manual validation mode. This mode disables automatic constraint validation, allowing you to control the validation process yourself. You can still trigger constraint validation manually with the validate() method or use checkValidity() to assess the component's validity without affecting the invalid state. In manual validation mode, you can also manipulate the invalid property directly through your application logic without conflicts with the component's internal validation.
Controls which item is automatically set to be selected, for example on Enter, when the typed filter only partially matches its label. The item that will be selected is highlighted in the dropdown while typing:
A hint to the user of what can be entered in the field.
The selected item from the items array.