EasyUI Forum
March 28, 2024, 03:34:25 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Label for easyui-switchbutton does not work?  (Read 4977 times)
Bris
Newbie
*
Posts: 1


View Profile Email
« on: February 01, 2017, 12:33:01 AM »

I have the following snippet of code in a easyui-dialog:

Code:

<div style="margin-bottom:10px">
                <input name="companyAdmin" class="easyui-switchbutton" id="dlg_admin" label="Admin" data-options="onText:'Til',offText:'Fra'">
            </div>

This does not show the "Admin" text in front of the switch button. Is this a bug?
Logged
jarry
Administrator
Hero Member
*****
Posts: 2260


View Profile Email
« Reply #1 on: February 01, 2017, 05:00:21 AM »

The switchbutton hasn't label property.
Logged
jega
Full Member
***
Posts: 190


View Profile
« Reply #2 on: October 16, 2017, 12:16:57 AM »

and why ??

I also need a label on the switchbutton


jesper
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!