-
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
Antd theme empty space #3174
Labels
Comments
v1ack
added
bug
needs triage
Initial label given, to be assigned correct labels and assigned
labels
Oct 3, 2022
heath-freenome
removed
the
needs triage
Initial label given, to be assigned correct labels and assigned
label
Oct 7, 2022
heath-freenome
added a commit
to heath-freenome/react-jsonschema-form
that referenced
this issue
Oct 7, 2022
…for fields Fixed rjsf-team#3174 - Updated `FieldTemplate` to ensure that `help` and `extra` information is only rendered when the `rawDescription` and `rawErrors` are not provided - Before, even though `description` and `errors` would render empty components, it would still cause unnecessary whitespace in which they were rendered - Now, those props are passed undefined unless the raw information indicates there is data to render - Updated the test snapshots - Updated the `CHANGELOG.md` accordingly
8 tasks
heath-freenome
added a commit
to heath-freenome/react-jsonschema-form
that referenced
this issue
Oct 7, 2022
…for fields Fixed rjsf-team#3174 - Updated `FieldTemplate` to ensure that `help` and `extra` information is only rendered when the `rawDescription` and `rawErrors` are not provided - Before, even though `description` and `errors` would render empty components, it would still cause unnecessary whitespace in which they were rendered - Now, those props are passed undefined unless the raw information indicates there is data to render - Updated the test snapshots - Updated the `CHANGELOG.md` accordingly
heath-freenome
added a commit
that referenced
this issue
Oct 7, 2022
#3187) Fixed #3174 - Updated `FieldTemplate` to ensure that `help` and `extra` information is only rendered when the `rawDescription` and `rawErrors` are not provided - Before, even though `description` and `errors` would render empty components, it would still cause unnecessary whitespace in which they were rendered - Now, those props are passed undefined unless the raw information indicates there is data to render - Updated the test snapshots - Updated the `CHANGELOG.md` accordingly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
What theme are you using?
antd
Version
5.0.0-beta.10
Current Behavior
Empty space between input and description
Expected Behavior
Steps To Reproduce
No response
Environment
Anything else?
Looks like it can be fixed by replacing in field template
react-jsonschema-form/packages/antd/src/templates/FieldTemplate/index.tsx
Line 71 in 4adf86a
to
The text was updated successfully, but these errors were encountered: