WebComboBox: Editable combo-box Click event should now trigger again as expected for the first list element.

[GB.WEB.GUI]
* BUG: WebComboBox: Editable combo-box Click event should now trigger again as expected for the first list element.
This commit is contained in:
gambas 2021-07-05 21:50:11 +02:00
parent e2c15bd10b
commit 4cd5ac969e

View file

@ -77,7 +77,9 @@ Public Sub _Render()
Print "<div class=\"gw-combobox-arrow\">";
Endif
Print "<select id=\""; Me.Name; ":select\" autocomplete=\"off\""; Me._GetUpdateWaitJS("oninput", "index", "this.selectedIndex");
Print "<select id=\""; Me.Name; ":select\" autocomplete=\"off\"";
Print Me._GetUpdateWaitJS("oninput", "index", "this.selectedIndex");
Print Me._GetUpdateWaitJS("onclick", "index", "this.selectedIndex");
If Not Me.Enabled Then Print " disabled";
Print ">"