EasyUI Forum
June 16, 2024, 09:47:51 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: textbox don't accept maxlength attr?  (Read 3417 times)
kingor2001
Jr. Member
**
Posts: 61


View Profile
« 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: 2265


View Profile Email
« 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  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!