Select
Basic
You can use ASelect
component to render basic select.
Placeholder
You can use placeholder
attribute to add placeholder to the select.
Label
You can use label
prop to add label to the select.
Hint
You can use hint
prop to add hint to the select.
Icons
You can use append-inner-icon
prop to change icon of the select component.
To prepend the icon use prepend-inner-icon
prop.
Moreover, you can also use append-icon
& prepend-icon
prop to add icon outside of the select component.
Slots
You can use default slot to render the ASelect
options.
States
You can use readonly
prop to make select read only.
Use disabled
prop to make select disabled.
API
Set component in disabled state
Set component in readonly mode
Set loading state
Emit whole object when item is select instead of item.value
Append icon
Input wrapper classes
Input classes
Input wrapper attributes
Add hint below the form component
Error text to render. This will replace hint text if provided.
Label of the form component
Prepend icon
Prepend icon inside input
Append icon inside input