ui.select get text of selected value

mySelect.getValue() returns the id of the selected item. I need the text of the selected item. Is there a way to get it?

You can get the selected text via ‘options’ collection

http://webix.com/snippet/3254ec8a

or if you are sure that Select is rendered, you can access html select and its options collection:

http://webix.com/snippet/67aa3fe1

RichSelect also has a getText API

http://docs.webix.com/api__ui.richselect_gettext.html

Thanks! Your answers were just the information I needed.