EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: skellenb on July 26, 2012, 05:20:52 AM



Title: How to make select field required with missingMessage
Post by: skellenb 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...



Title: Re: How to make select field required with missingMessage
Post by: heru 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',
            ...
});