EasyUI Forum
December 05, 2025, 02:04:58 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: How to use maxlength in combobox? [Solved]  (Read 11060 times)
sky_proj
Newbie
*
Posts: 24


View Profile
« on: June 08, 2015, 05:22:18 AM »

Can we add maxlength on combobox?
<input Id=`test´ class=`easyui-combobox´ maxlength=`5´>
« Last Edit: June 11, 2015, 07:18:41 AM by sky_proj » Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: June 08, 2015, 08:43:00 AM »

You can add a 'length' validation to the combobox component.
Code:
<input Id='test' class='easyui-combobox' data-options="validType:'length[0,5]'">
Logged
sky_proj
Newbie
*
Posts: 24


View Profile
« Reply #2 on: June 08, 2015, 09:55:08 AM »

You can add a 'length' validation to the combobox component.
Code:
<input Id='test' class='easyui-combobox' data-options="validType:'length[0,5]'">

That's good idea - thanks
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!