EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
December 05, 2025, 03:05:54 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
How to use maxlength in combobox? [Solved]
Pages: [
1
]
« previous
next »
Print
Author
Topic: How to use maxlength in combobox? [Solved] (Read 11064 times)
sky_proj
Newbie
Posts: 24
How to use maxlength in combobox? [Solved]
«
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
Re: How to use maxlength in combobox?
«
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
Re: How to use maxlength in combobox?
«
Reply #2 on:
June 08, 2015, 09:55:08 AM »
Quote from: stworthy 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]'">
That's good idea - thanks
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...