Skip to content

Invalid Feedback — Reference

Reference · Advanced · Bootstrap 5

Invalid Feedback settings and behavior. Settings include ID, Class, Text, Advanced.

Look up the controls for Invalid Feedback and understand the markup, values and visual behavior they configure.

Invalid Feedback settings and events. Select the component in App Structure to find these controls in Properties.

Name Description
IDSets this element’s unique page identifier. Use a stable name such as projectSummary when another control, label or anchor must target it. Do not duplicate a static ID inside repeated markup; a component binding name and a form field’s submitted Name serve different purposes.
ClassEdits the element’s space-separated CSS class list. For example, add a project-defined class such as project-summary only when your stylesheet defines it. Preserve classes required by the component. A class name alone does not create CSS, load an extension or implement an event handler.
TextThe Text setting has no additional explanation in the component definition.
Name Description
AdvancedShows the additional Text controls, including opacity, transform and overflow. This is an inspector preference stored locally, not a CSS class on the page. Enable it when you need to configure text truncation, then use the revealed control.
ColorSets a Bootstrap text-color utility. For example, text-primary applies the theme’s primary text color; text-body uses its body text color. Theme variables determine the actual color, so check both light and dark page modes. This does not change the background. Options: Primary (text-primary), Primary Emphasis (text-primary-emphasis), Secondary (text-secondary), Secondary Emphasis (text-secondary-emphasis), Success (text-success), Success Emphasis (text-success-emphasis), Danger (text-danger), Danger Emphasis (text-danger-emphasis), Warning (text-warning), Warning Emphasis (text-warning-emphasis), Info (text-info), Info Emphasis (text-info-emphasis), Light (text-light), Light Emphasis (text-light-emphasis), Dark (text-dark), Dark Emphasis (text-dark-emphasis), Body (text-body), Body Emphasis (text-body-emphasis), Body Secondary (text-body-secondary), Body Tertiary (text-body-tertiary), Black (text-black), White (text-white), Black 50 (text-black-50), White 50 (text-white-50), Muted (deprecated) (text-muted). Default: no override from this control.
Text OpacityChanges the opacity used by supported Bootstrap text-color utilities, without fading the element’s background or all its children as a single layer. For example, text-primary with text-opacity-50 renders the primary text color at 50%. A custom color that does not use --bs-text-opacity will not respond to this setting. Options: Default, 25% (text-opacity-25), 50% (text-opacity-50), 75% (text-opacity-75), 100% (text-opacity-100). Default: no override from this control.
AlignAligns text within the element’s available width. Start and End follow the writing direction; Center centers inline content. At the MD viewport, Center writes a responsive class such as text-md-center, which applies from that breakpoint upward. It does not center the element itself. Options: Start (text-start), Center (text-center), End (text-end). Default: no override from this control.
Font WeightApplies a font-weight utility to the text. For example, fw-bold requests bold text and fw-normal restores normal weight. The selected font must supply or synthesize the requested weight; this setting does not load another font file. Options: Bold (fw-bold), Bolder (fw-bolder), Normal (fw-normal), Light (fw-light), Lighter (fw-lighter).
Line HeightSets the height of each line relative to its font size. For example, lh-1 uses a line-height of 1, useful for a compact heading but often too tight for a paragraph. It changes spacing between text lines, not the margin around the element. Options: 1 (lh-1), Small (lh-sm), Base (lh-base), Large (lh-lg).
Font StyleApplies one or more text-style classes. For example, fst-italic makes text italic, lead gives an introductory paragraph the theme’s lead style, and font-monospace selects the monospace font stack. These classes style the selected element without changing its HTML tag. Options: Italic (fst-italic), Mark (mark), Lead (lead), Small (small), Monospace (font-monospace), Abbreviation (initialism).
TransformChanges the displayed letter case using CSS. For example, text-uppercase displays Product name as PRODUCT NAME while the source text stays Product name. Capitalize changes the initial letter of each word; it does not rewrite stored data. Options: Uppercase (text-uppercase), Capitalize (text-capitalize), Lowercase (text-lowercase). Default: no override from this control.
OverflowControls wrapping and overflow of text. text-nowrap prevents wrapping; text-break allows long unbroken words to wrap; text-truncate clips a single line with an ellipsis. Truncation needs a constrained width and a block or inline-block display. For example, use text-truncate on a title inside a fixed-width card. Options: Prevent wrapping (text-nowrap), Truncate text with an ellipsis (text-truncate), Word Break (text-break). Default: no override from this control.

You can select a setting, apply its documented value and check the relevant effect on the page.