Bug in richselect's getText function

Hello!

Please, check this: http://webix.com/snippet/e57dbbb2

getText appears to grab tag from placeholder when no value is selected.

It’s not a bug. In fact, getText() returns the innerHtml attribute. You can check the following sample. So I suggest using getValue() (note that this method ignores the placeholder).

Also, you can get the placeholder’s value as

$$("rich_id").config.placeholder

It’s strange. No consistency.

Clean text value:

ui.combo: http://webix.com/snippet/f0641738

Missing text value at all:

ui.multicombo: http://webix.com/snippet/06253d98

With SPAN tag:

ui.datepicker: http://webix.com/snippet/746c164b

ui.colorpicker: http://webix.com/snippet/c22282a7

ui.multiselect: http://webix.com/snippet/4b176cee

P.S.:

Take a look at colorpicker and multicombo. The both lose ‘placeholder’ after ‘setValue’.

Yep, I see. The fix will be provided in the one of the nearest updates.