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

Added customIcons property on DynamicForm. #1745

Merged
merged 2 commits into from
Feb 13, 2024

Conversation

GuidoZam
Copy link
Contributor

Q A
Bug fix? [ ]
New feature? [x]
New sample? [ ]

What's in this Pull Request?

Added a new property on the DynamicForm control called customIcons. This property is used if the developer wants to override the default icons generated automatically by the DynamicForm.

To use it simply define a dictionary with the internalColumnName as key and set the corresponding Fluent UI icon name.
I've also updated the ControlsTest web part with a sample using the Title column.

@AJIXuMuK
Copy link
Collaborator

@GuidoZam - could you please resolve the conflicts

@GuidoZam
Copy link
Contributor Author

@AJIXuMuK 👍 I'll do as soon as I can.

@GuidoZam
Copy link
Contributor Author

@AJIXuMuK it should be ok now 😄

@AJIXuMuK AJIXuMuK merged commit 83eed58 into pnp:dev Feb 13, 2024
1 check passed
@GuidoZam GuidoZam deleted the DynamicForm-custom-icon branch February 13, 2024 08:54
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

Successfully merging this pull request may close these issues.

None yet

2 participants