Hi all! I am trying to create a multiselect field ...
# suitescript
a
Hi all! I am trying to create a multiselect field in my suitelet where I need to list around 3k options, but I want to make it searchable, so that when user types smth the search will run and display appropriate select options. Can you please advice on how to build a multiselect field (or text area field with selection options) similar to one in the picture below?
1
n
To get that search feature you are talking about you need to source your select field. So say i wanted to have my select field be all my customers i would create it like this
Copy code
form.addField({
 id: 'custpage_customer_list, 
 label: 'Customer List', 
 type: serverWidget.FieldType.SELECT, 
 source: 'customer'
})
👀 1
a
simple as that, thanks!
🫡 1