I am running into the same issue of dropdowns not populating in Preview mode. I have seen this behavior within the past hour (CST US). It seems to be directly related to setting the .selectedIndex attribute to any number (0 to length of the options array). If I comment out setting the selectedIndex, the dropdown populates. Does not matter if values come from a hard coded array, a collection, or the results of a function. If I publish the site with the selectedIndex set, it works as expected in Live.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Hey !! I am in deep trouble with wix dropdown. | 1 | 83 | May 19, 2019 | |
| Hi, I would like to do a dropmenu and used the appropriate code but when I do a preview it isn't work... (not a valid selector). Thx for you | 3 | 73 | August 20, 2020 | |
| Drop down works in Wix but not in browser | 3 | 183 | July 8, 2018 | |
| get dropdown options is empty | 6 | 379 | June 12, 2019 | |
| Dropdown Menu On Published? | 4 | 172 | August 16, 2017 |