Hi All,
I am in need of a drop down design with multiple value selection.
Is there is anyway in WIX, we can create a drop down box with multiple value selection?
Quick response are highly appreciated.
Regards,
Harish
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.
For reference
Maybe this example will help:
Multi-Select Dropdown
Create a dropdown menu with checkboxes and search a database using multiple filters.
Hi did you get this done? i need the same thing i have figured out how to do it with 1 value return using a different label in drop down with the help of wixshow.com but need to now have 2 3 and 4 values returned by selecting one drop down.
can anyone recommend where to add the 2nd 3rd and 4th values?
// PAGE CODE import {populateDropdownWithFilter,populateDropdown} from 'backend/utilitiesModule'; $w.onReady(async function () { //WORKING WITH DROPDOWNS $w("#myDropdown").options = await populateDropdownWithFilter("DemoData","categoryName","Fruit", "price"); }); export function myDropdown_change(event) { console.log($w("#myDropdown").value); } // BACKEND CODE // Filename: backend/utilitiesModule.jsw (web modules need to have a .jsw extension) import wixData from 'wix-data'; export function populateDropdown(collectionName, valueField) { let allItems = []; return wixData.query(collectionName) .ascending("title") .find() .then((results) => { if (results.totalCount > 0) { let items = results.items; items.forEach((item) => { let oneItem = { label: item.title, value: item[valueField].toString() } allItems.push(oneItem); }) return allItems; } return null; }) }
Thanks Roi
Hi Harish,
Welcome to Wix Code
This forum is specialised in Wix Code product.
We don't have this type of element at this moment.
Roi