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

Support Field from fluent v9 #234

Open
davidrsch opened this issue Sep 17, 2024 · 0 comments
Open

Support Field from fluent v9 #234

davidrsch opened this issue Sep 17, 2024 · 0 comments

Comments

@davidrsch
Copy link

davidrsch commented Sep 17, 2024

Motivation

Hello, I found myself in a situation were I want to mark a SpinButton as required this can be easly done with the Field component ftom Fluent UI React V9

Feature description

Best practices
Do

  • Use Field to add a label and validation message to form controls.
  • Use Field to label other unlabeled controls like ProgressBar.

Don't

  • Avoid including both a validationMessage and hint text.
  • Don't add multiple controls as a child of a single Field. The label is only associated with one control.
  • Don't use the Field's label with Checkbox. Use the Checkbox's label instead (the Field can still be used to add a validationMessage or hint).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant