Skip to content

Allow for more control over formatting of prefix and postfix#1806

Merged
I-Valchev merged 2 commits intomasterfrom
more-control-over-formatting-prefix-and-postfix
Sep 2, 2020
Merged

Allow for more control over formatting of prefix and postfix#1806
I-Valchev merged 2 commits intomasterfrom
more-control-over-formatting-prefix-and-postfix

Conversation

@bobdenotter
Copy link
Copy Markdown
Member

Additional change to #1796

    fields:
        title:
            type: text
            class: large
            required: true
            pattern: ".{2,255}" # see: http://html5pattern.com/
            error: "The Title field is required, and must contain at least 2 characters"
            placeholder: "Placeholder for the title"
            group: Text
            postfix: |
                This is an example of a longer "postfix". Simple text is capped at a reasonable width
                to enhance legibility. Necessitatibus dolor corrupti assumenda placeat quia occati
                aut. Facere porro placeat molestiae fuga. Laboriosam et asperiores atque impedit
                dolorem dicta aut. Harum inventore ipsa voluptas consectetur quaerat eius ad.
                <div class="alert alert-secondary" role="alert"><strong>Tip:</strong> You can even
                use HTML in a prefix! Note that this one does take the full available width.</div>

Screenshot 2020-09-02 at 07 04 28

Copy link
Copy Markdown
Member

@I-Valchev I-Valchev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome tip! Love it.

👍

@I-Valchev I-Valchev merged commit 48913ad into master Sep 2, 2020
@I-Valchev I-Valchev deleted the more-control-over-formatting-prefix-and-postfix branch September 2, 2020 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants