Hello,
I have a large ENUM with 100 Strings. It’s super hard and time-consuming to find the needed value.
I would like to use for this field the same widget I can use on the EDIT tab of a record => the dropdown with typeahead (filter as you type).
I didn’t find any documentation on the smartaction doc to do it. Is this possible?
Hello @cylwin and welcome on our community forum !
Yes it is !
To do that you have to enable the layout editor → Go to your collection settings → The ENUM field you want to change → Re select the dropdown as edit widget → An edit settings page should open with the possibility to turn on the option below.
The type you defined in your models is the good one. What is wrong or you don’t like with the workaround I gave you above?
It allows you to type “Car” and then will display “Carrefour” in the dropdown for instance. No code is needed with the solution I provided you, everything as to be done on your admin panel.
If you didn’t find the ressource I can show you how to do it with a quick video. Let me know if needed.