You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error text on nimble components should only have a title when the error text content overflows. However, the errorTextTemplate currently adds a title all the time, which is both unnecessary and against the current patterns within nimble. The template should use the overflow directive to only add a title when the error text content doesn't fit.
💻 Repro or Code Sample
🤔 Expected Behavior
The error text under a component should only have a title if the error text content doesn't fit in the allocated width of the control.
😯 Current Behavior
The error text under a component always has a title.
💁 Possible Solution
Use the overflow directive.
🔦 Context
🌍 Your Environment
OS & Device: [e.g. MacOS, iOS, Windows, Linux] on [iPhone 7, PC]
Browser [e.g. Microsoft Edge, Google Chrome, Apple Safari, Mozilla FireFox]
Version [e.g. 1.8.0]
The text was updated successfully, but these errors were encountered:
mollykreis
changed the title
Error text on components should only have title when content overlows
Error text on components should only have title when content overflows
Oct 15, 2024
🐛 Bug Report
The error text on nimble components should only have a
title
when the error text content overflows. However, theerrorTextTemplate
currently adds a title all the time, which is both unnecessary and against the current patterns within nimble. The template should use theoverflow
directive to only add atitle
when the error text content doesn't fit.💻 Repro or Code Sample
🤔 Expected Behavior
The error text under a component should only have a
title
if the error text content doesn't fit in the allocated width of the control.😯 Current Behavior
The error text under a component always has a
title
.💁 Possible Solution
Use the
overflow
directive.🔦 Context
🌍 Your Environment
The text was updated successfully, but these errors were encountered: