You can add as many switches as you like, as long as their corresponding checkboxes have the same class.
Add class js-switch-@color-@size
for additional sizes.
Just add data-role="tagsinput"
to your input field to automatically change it to a tags input field.
Use a <select multiple />
as your input element for a tags input, to gain true multivalue support. Instead of a comma separated string, the values will be set in an array. Existing <option />
elements will automatically be set as tags. This makes it also possible to create tags containing a comma.
For <select>
controls with the multiple
attribute, multiple options are shown by default.
Checkboxes are for selecting one or several options in a list, while radios are for selecting one option from many.
Use the inline
class on a series of checkboxes or radios for controls that appear on the same line.
If you want add color use class checkbox-@color
If you want add color use class radio-@color