Edit on GitHub
Jump to docs navigation

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.

  • class Can be set to either of the:
    • narrow to make the field more narrow
    • large to make both the field and the font larger
  • allowtwig can be set to true or false to control if twig may be used in the field
  • variant set to inline to show the label next to the field instead of above it.
  • pattern Use 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.