Topic: Values for switch input
Bartłomiej Malanowski staff answered 6 years ago
In fact, our switch component is just a styled checkbox, so you can do something like this:
<div class="switch">
<label>
Off
<input type="checkbox" checked="checked" value="The Value">
<span class="lever"></span>
On
</label>
</div>
Now you should be able to read the value from the switch
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
Specification of the issue
- ForumUser: Pro
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Tags