Control primitive boolean

default.control

Checks that input is boolean via checkbox

Output a control with the name "foo" that ensures the value returned is boolean

{{control "foo" control-primitive="boolean"}}

or just

{{control "foo"}}

if the type property for the "foo" property in the model schema has been set to "boolean"

Additionally makes the control type checkbox

Source:
See:

Methods

(static) initialize()

Sets controltype to checkbox

Source: