I have dynamic dropdowns that work correctly (when the user changes the value of the first one, the next dropdowns change their options correctly).
The challenge I am having is the value chosen by each dropdown is saved immediately to the user's document so I can display the information back to them on the page (there are a lot of choices so this makes it more user-friendly).
I noticed that when the user de-selects an option from the first dropdown, the corresponding options in the second dropdowns disappear, but they don't deselect. Either I need to find a way to deselect these "invalid" options or delete unneeded values in the database string list (which I haven't been able to figure out how to isolate the individual values I need).
Anyone else have ideas on how to make this work? Happy to explain more if this doesn't make sense.