A control that allows displaying the specified value or change it to the opposite one.
Related sample: Form. All controls
Related sample: Form. Checkboxes
Adding CheckboxâYou can easily add a Checkbox control during initialization of a form:
const form = new dhx.Form("form_container", {
rows: [
{
type: "checkbox",
label: "I agree",
name: "agree",
id: "agree",
value: "checkboxvalue"
}
]
});
Propertiesâ
View the full list of configuration properties of the Checkbox control.
Working with CheckboxâYou can manipulate a Checkbox control by using methods or events of the object returned by the getItem() method.
For example, you can get the value of the control:
const value = form.getItem("checkbox").getValue();
Methodsâ
Check the full list of methods of the Checkbox control.
EventsâCheck the full list of events of the Checkbox control.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4