EasyUI Forum
May 14, 2024, 03:58:09 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: Why SwitchButton didn't hava lable?  (Read 3616 times)
MSAG
Newbie
*
Posts: 41



View Profile Email
« on: January 06, 2019, 08:36:16 AM »

Hi
Why SwitchButton didn't hava lable?
can you support this function like others controls in next update
thanks a lot.
« Last Edit: January 07, 2019, 06:52:41 AM by MSAG » Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: January 06, 2019, 06:30:17 PM »

The 'label' property is available in the 'switchbutton' component. Make sure to download the newest version.

https://www.jeasyui.com/demo/main/index.php?plugin=SwitchButton&theme=material-teal&dir=ltr&pitem=&sort=asc
Logged
MSAG
Newbie
*
Posts: 41



View Profile Email
« Reply #2 on: January 07, 2019, 04:24:59 AM »

thanks a lot
you are so fast

thanks again
Logged
MSAG
Newbie
*
Posts: 41



View Profile Email
« Reply #3 on: January 07, 2019, 06:54:06 AM »

Hi again

thanks about your update

but I think label for wsitchbutton not work like others controls

just test this code

    <div style="margin-bottom:20px">
        <input class="easyui-switchbutton" label="Subscribed:" labelWidth="120" style="width:100%;">
    </div>
    <div style="margin-bottom:20px">
        <input class="easyui-textbox" label="Company:" labelWidth="120" style="width:100%;">
    </div>
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!