[FormField] Add option to allow hint to be shown only when focused
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
#### Bug, feature request, or proposal:
Feature request
#### What is the expected behavior?
When the option is specified, the hint/helper text is hidden unless the field has focus.
#### What is the current behavior?
The hint is always displayed unless no hint is used
#### What is the use-case or motivation for changing an existing behavior?
Material Design specifications call for the hint to be either always displayed or displayed on focus only: https://material.io/guidelines/components/text-fields.html#text-fields-layout (see 'Helper text').
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Material v5
Beitragsleitfaden
Rechercherichtung
Beginne bei der Angular Material FormField-Implementierung und verfolge, wie Hinweis-/Hilfetext derzeit gerendert wird. Bestätige die erwarteten fokussierten und nicht fokussierten Zustände der Option und überprüfe anschließend, dass der Hinweis ohne Fokus ausgeblendet ist und bei Fokus sichtbar bleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100