Checkbox - PIWEEK/polymux GitHub Wiki
Checkbox
A form component that can be turned on and off. The user can switch the state of the checkbox.
<polymux-checkbox name="input" text="Checkbox text" checked required disabled></polymux-checkbox>
###Attributes
- Name: The index name of the input. Should be unique to avoid problems between inputs.
- Text This is the text that will explain to the user what is the option they are switching on or of.
- checked optional This attribute sets the check box selected by default.
- required optional This attribute specifies that the user must fill in a value before submitting a form.
- disabled optional Indicates that the form control is not available for interaction.