EasyUI Forum
May 04, 2024, 02:37:15 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to make select field required with missingMessage  (Read 8541 times)
skellenb
Newbie
*
Posts: 4


View Profile Email
« on: July 26, 2012, 05:20:52 AM »

i'm trying to make a plain select field required with a missingMessage like a "normal" validatebox, but with no luck....

i don't want to use a combobox, because i dont want the user to type in something other then predefined in the values...

Logged
heru
Newbie
*
Posts: 12


View Profile
« Reply #1 on: July 26, 2012, 07:25:25 AM »

You can make uneditable combobox with just set editable property set to false.

$('#xx').combobox({
            ...
            editable:false,
            method:'get',
            ...
});
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!