Title: since v1.5 combobox::onselect fires on page load. Post by: mzeddd on September 06, 2016, 04:11:25 AM In documentation it is stated that "Fires when the user select a list item.".
I my case I have combobox which is used to reload page depending on value which user selects. With v1.5 I have cyclic page reload because combobox::onselect fires on page load. I don't see this problem with 1.4.5 and older versions. Title: Re: since v1.5 combobox::onselect fires on page load. Post by: stworthy on September 06, 2016, 08:09:32 AM The 'onSelect' event should be triggered when a list item is selected. When a combobox is created with a initialized 'value', the list item that has the corresponding value will be selected. The 'onSelect' event fires but the 'onChange' event does not fire. Please try to use the 'onChange' event instead of 'onSelect' event. If you would like to have the event that only fires when the user click a list item, you can extend a 'onClick' event by overriding the $.fn.combobox.defaults.panelEvents.click event handler.
Title: Re: since v1.5 combobox::onselect fires on page load. Post by: mzeddd on September 07, 2016, 03:05:02 AM onChange works.
|