I’m working on a feature where users can select the cities they are interested in, such as New York, London, etc., from a repeating group populated with options sets during the sign-up process.
Here’s what I’m trying to achieve:
When a user selects a city, it should be highlighted with a background color. If they click on the city again, it should be unmarked.
Upon clicking the “Next” button, the selected options should be saved to the user’s profile.
Could you please guide me on the best approach to implement this?
You can make the custom state a list of City so multiple can be selected. Then, you will update the conditions etc according to that.
You can also check Multiselect dropdown so users can select multiple things immediately without you doing a lot of work if that fits your app (find it in plugins) very easy to use: