Open koddr opened 1 month ago
It would be great if it were possible to add Inputs with icons into the Auto Form component.
For example, as standalone option icon (like component or else):
icon
component
<script setup lang="ts"> import { Search } from 'lucide-vue-next' // ... </script> <template> <AutoForm :field-config="{ searchField: { inputProps: { type: 'text', placeholder: 'Search...', showLabel: false, }, icon: { position: 'left', // or 'right' component: Search, // place imported icon component here }, // ... }, }" /> </template>
And result something like this:
Describe the feature
It would be great if it were possible to add Inputs with icons into the Auto Form component.
For example, as standalone option
icon
(likecomponent
or else):And result something like this:
Additional information