EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: MSAG on January 06, 2019, 08:36:16 AM



Title: Why SwitchButton didn't hava lable?
Post by: MSAG 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.


Title: Re: Why SwitchButton didn't hava lable?
Post by: stworthy 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


Title: Re: Why SwitchButton didn't hava lable?
Post by: MSAG on January 07, 2019, 04:24:59 AM
thanks a lot
you are so fast

thanks again


Title: Re: Why SwitchButton didn't hava lable?
Post by: MSAG 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>