Field types / Text
Note: You are currently reading the documentation for Bolt 2.2. Looking for the documentation for Bolt 5.2 instead?
Simple text-input, for single-line fields.
Basic Configuration:¶
name:
type: text
Example usage in templates:¶
{{ record.name }}
Options:¶
The field has a few options to change the appearance and functionality of the field.
classCan be set to either of the:narrowto make the field more narrowlargeto make both the field and the font larger
allowtwigcan be set to true or false to control if twig may be used in the fieldvariantset toinlineto show the label next to the field instead of above it.patternUse this to validate the field against a certain pattern.
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.