Appearance
Autocomplete β
INFO
This component uses the auto complete from PrimeVue. It's full documentation can be found here. It does have some Codey specific features like automation ids, props and slots.
js
import { XerAutocomplete } from "@xerius/codey-components";
Showcases β
Default β
With Dropdown β
With Selected Option β
With multiple selected β
As Invalid β
As Disabled β
Without Form Control β
Note
Using a component directly without XerFormControl
or <label>
requires you to place the correct aria-label
on the underlying component input element.
Props β
All props from the Prime Auto Complete can be provided. The full documentation can be found here.
Events β
All events from the Prime Auto Complete can be provided. The full documentation can be found here.
Slots β
All slots from the Prime Auto Complete can be provided. The full documentation can be found here.
Types β
The XerAutoComplete
exports following types:
Name | Value | Description |
---|---|---|
AutoCompleteOption | { [key: string]: string; value: string; } | Type for the Auto Complete options. |
Automation Ids β
A data-automation-id
needs to be provided to the component as Prime Vue based components do not have a default data-automation-id
.