Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamically updating labels #305

Open
simonziegler opened this issue Oct 22, 2020 · 2 comments
Open

Dynamically updating labels #305

simonziegler opened this issue Oct 22, 2020 · 2 comments
Labels
investigate Items for investigation
Milestone

Comments

@simonziegler
Copy link
Member

A feature requested by @stefanloerwald is that Labels should have the capability to be updated after first render. A use case is multi-lingual support.

Initial investigation shows this to be very complex, in particular with floating labels and notched outlines. This may not be reasonably achievable for Material.Blazor with a workaround being for the caller to force a re-render when labels need to change. Maybe this can be done by using @key on a component and linking this to the value of the Label.

Reference material-components/material-components-web#6546

@simonziegler simonziegler added the investigate Items for investigation label Oct 22, 2020
@simonziegler simonziegler changed the title Labels that can be updated after first render Dynamically updating labels Oct 25, 2020
@simonziegler
Copy link
Member Author

Added to material-components-web backlog.

@MarkStega MarkStega added this to the Backlog milestone Jan 18, 2021
@MarkStega MarkStega added backlog and removed backlog labels Jan 18, 2021
@simonziegler
Copy link
Member Author

This should naturally get fixed with migration to Material 3. See #795.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigate Items for investigation
Projects
None yet
Development

No branches or pull requests

2 participants