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

hide empty help label in antd form items #2780

Closed

Conversation

momesana
Copy link
Contributor

Reasons for making this change

fixes #2779

Checklist

  • I'm updating documentation
  • I'm adding or updating code
    • I've added and/or updated tests
    • I've updated docs if needed
    • I've updated the changelog with a description of the PR
  • I'm adding a new feature
    • I've updated the playground with an example use of the feature

@momesana momesana force-pushed the fix_empty_help_label_in_antd branch 2 times, most recently from 3a4ef83 to 9e022a3 Compare April 4, 2022 01:47
@jacqueswho jacqueswho added bug antd antd related theme issue awaiting review labels Apr 11, 2022
@momesana momesana force-pushed the fix_empty_help_label_in_antd branch from 9e022a3 to 6082118 Compare April 19, 2022 15:04
@momesana
Copy link
Contributor Author

Is there anything else I could do to expedite the merge of this PR?

@epicfaace
Copy link
Member

Thanks -- do you mind adding it to the weekly meeting agenda? I think a synchronous review would be easiest -- #2677

@@ -65,7 +65,7 @@ const FieldTemplate = ({
colon={colon}
extra={description}
hasFeedback={schema.type !== 'array' && schema.type !== 'object'}
help={(!!rawHelp && help) || (!!rawErrors && renderFieldErrors())}
help={rawHelp ? help : rawErrors ? randerFieldErrors() : undefined}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also need to add a test here. Thanks!

@heath-freenome heath-freenome added the missing tests All PRs that change code need tests to verify the change label Aug 29, 2022
@heath-freenome
Copy link
Member

Closing as this was fixed indirectly via #3111 and #3112

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
antd antd related theme issue bug missing tests All PRs that change code need tests to verify the change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants