Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Discussion: Add the header property to all input controls #2536

Closed
niels9001 opened this issue May 23, 2020 · 3 comments
Closed

Discussion: Add the header property to all input controls #2536

niels9001 opened this issue May 23, 2020 · 3 comments
Labels
discussion General discussion team-Controls Issue for the Controls team

Comments

@niels9001
Copy link
Contributor

Discussion: Add the header property to all button controls

Most input controls have a header property, that allows developer to add e.g. a descriptive text.

This is useful, but for the button control family this property is not available. This requires developers to add a separate textblock. This however requires additional styling (in terms of margins, paddings and fontstyles).

This is quite cumbersome, especially when using controls with a header on the same page since things look off and inconsistent across the page.

Controls to consider:

  • Button
  • CheckBox
  • ColorPicker
  • DropDownButton
  • HyperlinkButton
  • RadioButton
  • RatingControl
  • RepeatButton
  • SplitButton
  • ToggleButton
  • ToggleSplitButton

Some examples where a header property would be useful:

image

image

@niels9001 niels9001 added the discussion General discussion label May 23, 2020
@msft-github-bot msft-github-bot added the needs-triage Issue needs to be triaged by the area owners label May 23, 2020
@mdtauk
Copy link
Contributor

mdtauk commented May 23, 2020

The proposed form control may be useful for this I'm the future.

@ranjeshj
Copy link
Contributor

@niels90001 Would your scenarios be covered by the forms control as @mdtauk mentioned ? The proposal is here.

@ranjeshj ranjeshj added team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels May 27, 2020
@niels9001
Copy link
Contributor Author

@niels90001 Would your scenarios be covered by the forms control as @mdtauk mentioned ? The proposal is here.

I guess it would.. it would be nice to have this consistent, for usecases where only 1 control is used.

But yes, I could live with a forms control to solve this issue :)!

@microsoft microsoft locked and limited conversation to collaborators Jul 22, 2022
@ranjeshj ranjeshj converted this issue into discussion #7495 Jul 22, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
discussion General discussion team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

4 participants