sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

className for PropertyPane controls

Open artxach opened this issue 9 years ago • 3 comments

Thank you for reporting an issue or suggesting an enhancement. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you.

Category

  • [X] Question
  • [ ] Typo
  • [ ] Bug
  • [X] Enhancement / Suggestion
  • [ ] Additional article idea

Expected or Desired Behavior

I would like to be able to set className for propertyPane predefined controls. e.g PropertyPaneTextField or PropertyPaneButton.

Observed Behavior

_I am aware of custom property pane controls, but what if i want just to set the background of PropertyPaneButton - is it useful to create a custom button for that, or if i just want to set the width of PropertyPaneTextField _

Thanks for help.

artxach avatar Mar 24 '17 12:03 artxach

Hi @artxach, we do not allow customization of inbuilt PropertyPane fields on purpose. The idea is that the API contract is a data model and the PropertyPane UX is owned by Microsoft. This way it is easier for us to evolve the PropertyPane UX without worrying about breaking customers. And for exact that reason we have the CustomField support.

manishgarg1 avatar Apr 18 '17 00:04 manishgarg1

Ok, thanks)

artxach avatar Apr 18 '17 10:04 artxach

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 29 '20 12:01 msft-github-bot