How to get all selected Multiselect options

Hi I am trying to get all of the selected options from the Multiselect. I know that there is a function form.getSelect() which retrieves an object of the selected option, but it only retrieves a single option. So my question is wether it’s possible to get the values of options (in my case values are used as id for the options), just like the grid.getSelectedRowId() function does?

Hi
Try to use method getItemValue() - it will return an array of the selected values.


Thanks a lot, Darya. That did work for me :stuck_out_tongue:

You are welcome!