EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
February 12, 2025, 05:04:45 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
>
textbox don't accept maxlength attr?
Pages: [
1
]
« previous
next »
Print
Author
Topic: textbox don't accept maxlength attr? (Read 4338 times)
kingor2001
Jr. Member
Posts: 61
textbox don't accept maxlength attr?
«
on:
June 19, 2019, 11:14:54 PM »
such as
<input class="easyui-textbox"data-options="label:'foo'" maxlength="10">
this maxlength="10" don't work.
Logged
jarry
Administrator
Hero Member
Posts: 2283
Re: textbox don't accept maxlength attr?
«
Reply #1 on:
June 20, 2019, 06:32:49 PM »
Please apply the 'length' validation rule to the textbox component.
Code:
<input class="easyui-textbox" data-options="validType:'length[0,10]'" style="width:100%;">
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...