Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Dynamically setting labels #6546

Closed
Closed
@simonziegler

Description

Feature Request

We have a need to set labels dynamically in response to users setting their preferred language. We are attempting to do this with text fields, text areas and selects and have been defeated by the complexities of detecting notches, setting notch widths (there's some scaling we can't get our heads around) and so forth.

Proposed solution

This is more of a question than a solution and we seek your advice. Is this:

  1. Something worthy of a feature request whereby (perhaps in the adapters) you provide a setLabel() function, or
  2. Should we aim to just rebuild our components in the DOM when this happens?

We would of course be delighted if the answer were number one!.

Activity

allan-chen

allan-chen commented on Oct 23, 2020

@allan-chen
Collaborator

Hi Simon,

setLabel() seems reasonable to support. Moving this to backlog.

added
Unresolved (Archived)Open and unresolved issues and PRs that were closed due to archiving the repository.
on Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Dynamically setting labels · Issue #6546 · material-components/material-components-web