Component: IconField
A field for picking an icon.
Inheritance
Inherits props from VAutocomplete
typescript
import IconField from '@nhtio/vuetify-fields/components/fields/icon'
Examples
vue
<IconField />
Result
Reference
Props
Name | Type | Default | Required |
---|---|---|---|
modelValue | `mdi-${string}` | null | null | |
The currently selected icon. | |||
filterPlaceholder | string | null | null | |
Filter Field Placeholder | |||
filterFieldProps | AcceptableVTextFieldProps | () => ({}) | |
Filter Field Properties | |||
clearableViaBadge | boolean | false | |
Allows the user to clear the color by clicking on the badge. |
Slots
btn-clear | |||||||||
| |||||||||
The slot for the clear button. |
Events
Name | Type | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
update:modelValue | (val: `mdi-${string}` | null) => void | |||||||||
Emitted when the value is changed. | ||||||||||
| ||||||||||
update:model-value | (val: string | null) => void | |||||||||
Emitted when the value is changed. | ||||||||||
| ||||||||||
update | (val: `mdi-${string}` | null) => void | |||||||||
Emitted when the value is changed. | ||||||||||
|