EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: y.bykov on April 19, 2018, 06:08:54 AM



Title: Combobox self cleaning
Post by: y.bykov on April 19, 2018, 06:08:54 AM
I have combobox with onChange method. In some case I need to check user input value and if it wrong (in my algorithm) call combobox('clear'). But when I call this in onChange method EasyUI call onSelect method with putting user input value again.
How can I clean combobox value from onChange method?


Title: Re: Combobox self cleaning
Post by: stworthy on April 20, 2018, 07:56:40 PM
Please try to set the 'limitToList' to true to limit the inputed values to the listed items.