EasyUI Forum
April 18, 2024, 11:29:24 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Combobox self cleaning  (Read 2846 times)
y.bykov
Newbie
*
Posts: 49


View Profile
« 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?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!