Field types / Checkbox
Note: You are currently reading the documentation for Bolt 2.2. Looking for the documentation for Bolt 5.2 instead?
Simple checkbox input.
Basic Configuration:¶
showteaser:
type: checkbox
Example usage in templates:¶
{% if record.showteaser %}
<p>Teaser here ...</p>
{% endif %}
Options:¶
The field has one option to change the appearance of the field:
variant
set toinline
to show the label next to the field instead of above it.
Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.