I want to create select fields for states (Willaya) and municipalities (Cities) . In my case, I have JSON files for these fields ( Willaya, Cities ) , one for states (Willaya) and one for municipalities (Cities). I was able to create the select field for states, but I was unable to create the select field for municipalities (Cities), provided it is linked to the selected state (Willaya).
#I need help to create nested Select in my collection.
1 messages · Page 1 of 1 (latest)
Help is on the way! To mark it as solved, use the /solve command. In the meantime, here are some existing threads that may help you:
Documentation:
Community-Help:
The options object only supports a value and a label. That wilaya_id property is probably breaking it
something like this
exactly
Thank you very much for your time, if you could let me know how I can do something like this.
Thanks, I already know this and I know that I have a problem with my code. I would like to know how to find this solution please.
I will put those files here just wait
It's just a demo, I think in real world app, the options data should be loaded from collections