AutoForm extension to select a font awesome icon from a list of icons. Will only save the icon classname without the `fa-` prefix.
AutoForm extension to select a font awesome icon from a list of icons. Will only save the icon classname without the fa-
prefix.
Define the icon type as any other AutoForm extension in your simple schema:
{
icon: {
type: String,
label: 'List element icon',
autoform: {
type: 'faicon',
multiple: true, // Coming soon
version: 5, // Coming soon
options() {
return [/* list of icons */] // coming soon
}
},
},
}