EasyUI Forum
November 05, 2025, 06:29:42 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: Validation On Editable Combobox  (Read 8793 times)
arma
Full Member
***
Posts: 110


View Profile
« on: January 02, 2016, 04:03:13 AM »

Hi,

Let say i have 2 rows data in editable combobox with required:true.

id:1, text: 'one'
id:2, text: 'two'

If i type '3' or 'three' and validate on submit $(this).form('validate'); it passes.

How can i set the combobox to be invalid when value is not in 1 or 2? Do i have to loop and check manually ?

Thanks
Logged
arma
Full Member
***
Posts: 110


View Profile
« Reply #1 on: January 02, 2016, 04:32:12 AM »

Ah, i found the solution in this thread http://www.jeasyui.com/forum/index.php?topic=3364.0
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!