Hello,
Do you have any ideas on how to remove the additional option in the dropdown menu which contains nothing?
See the picture below
Thanks
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
@Gio Anagnostakis Check that you don't have blank lines or fields in your database collection.
Well done for solving it for yourself.
Although you should really have your onReady page function underneath your imports line otherwise your dropdown onChange event is happening before the page is loaded and ready.
import wixData from "wix-data"; $w.onReady(function () { }); export function dropdown1_change_1(event) { wixData.query("Repay")
Just note that there are examples that you can use if you needed them.
https://support.wix.com/en/article/filtering-content-based-on-user-selection
Writing labels and values yourself through code.
https://www.wix.com/corvid/reference/$w.Dropdown.html#options
Dropdown from Dataset.
https://www.vorbly.com/Vorbly-Code/WIX-CODE-DROPDOWN-OPTIONS-FROM-DATABASE
Also, search the forum for previous posts as you will find many of them.
https://www.wix.com/corvid/forum/community-discussion/filter-table-from-dropdown-menu-solved
Consider this resolve. I have set a filter condition on dataset to IS not empty. Thanks a lot folks.
If you use code to assign the options to the dropdown, please post it here.