-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[Semantic-ui] Field descriptions are not getting custom description rendering #2363
Comments
i also see the same problem in material-UI: import Form from "@rjsf/material-ui"; both |
@trebor I suspect that this affects all the themes, but I didn't check. |
Duplicate of #2219 |
I've fixed this in #2451 I feel like the other themes are doing similar things where they are just displaying raw text and not using the registry to get the proper description component. |
In general I think #2591 was a better solution than what I came up with. Please get that PR out the door instead. |
Fixed in the v5 beta, see the 5.x migration guide |
Prerequisites
This is the SSCCE that shows this behavior.
rjsf-description-issue.zip
Description
When providing a custom
DescriptionField
to the SemanticUI version of the form, it does not get parsed on field level descriptions.Steps to Reproduce
DescriptionField
Expected behavior
I would expect the description to go through my custom field.
Actual behavior
Version
2.5.1 for both @rjsf/core and @rjsf/semantic-ui
The text was updated successfully, but these errors were encountered: