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

Custom DescriptionField not working, Unable to render Icons with Description in Form #2481

Closed
2 tasks
chelsiemb opened this issue Jul 21, 2021 · 2 comments
Closed
2 tasks
Labels
bug fluent-ui fluent-ui related theme issue labelOrDescription Relating to labels and descriptions of fields in the form

Comments

@chelsiemb
Copy link

Prerequisites

Description

I am currently using the @rjsf/fluent-ui library to render Forms in the browser as part of an intern project. I created a custom DescriptionField to render Info icons with descriptions in my form but they do not seem to be working unless the property in question is of type: object. I am able to render icons with description if I simply render but not when I am trying to pass the DescriptionField into a Form using its fields prop. I've seen a couple other issues raised that are similar, and was wondering if there is a solution?

Expected behavior

Screenshot (36)

Actual behavior

Screenshot (37)

Version

@rjsf/fluent-ui - ^2.5.1

@newt10 newt10 added bug fluent-ui fluent-ui related theme issue labelOrDescription Relating to labels and descriptions of fields in the form labels Sep 2, 2021
@newt10
Copy link
Collaborator

newt10 commented Sep 2, 2021

@chelsiemb can you provide some example code to showcase how you are setting up the description field

alex-pex added a commit to alex-pex/react-jsonschema-form that referenced this issue Oct 28, 2021
alex-pex added a commit to alex-pex/react-jsonschema-form that referenced this issue May 11, 2022
alex-pex added a commit to alex-pex/react-jsonschema-form that referenced this issue May 11, 2022
alex-pex added a commit to alex-pex/react-jsonschema-form that referenced this issue May 16, 2022
alex-pex added a commit to alex-pex/react-jsonschema-form that referenced this issue Jun 10, 2022
@heath-freenome
Copy link
Member

Fixed in the v5 beta, see the 5.x migration guide

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fluent-ui fluent-ui related theme issue labelOrDescription Relating to labels and descriptions of fields in the form
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants