EasyUI Forum
May 13, 2024, 09:46:36 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 can numberbox inherit the properties such as title, placeholder from the ori  (Read 6213 times)
kingor2001
Jr. Member
**
Posts: 61


View Profile
« on: September 14, 2016, 07:40:55 AM »

How can numberbox inherit the properties such as title, placeholder from the original input element?
thanks.
Logged
jarry
Administrator
Hero Member
*****
Posts: 2264


View Profile Email
« Reply #1 on: September 14, 2016, 07:29:42 PM »

You can define the 'prompt' and 'label' properties.

Code:
<input class="easyui-numberbox" data-options="label:'Amount:',prompt:'Amount',min:10,max:90,precision:2" style="width:100%;">
Logged
kingor2001
Jr. Member
**
Posts: 61


View Profile
« Reply #2 on: September 16, 2016, 10:08:09 AM »

thanks, the 'placeholder' works but the 'title' is still missing.
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!