- Issue created by @goz
Building UI, Enum CSS Widget allow to build nice UI thanks to icons, but we could improve that allowing to directly use components.
For example, i use Enum CSS Widget to display all variants available so contributor can choose which one to use. First, i created screenshot of component and define an icon to use in widget. It works, but there are several cons :
But, if i can configure a component directly in my widget, i can show what the option is used for. In my case, i can define for each variant a component configured with this variant.
Widget in Enum CSS Widget :
Widget rendered in my form :
Active
3.0
Code