We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bug report
When using the FormSection component, you can't use Fragment in the component prop. Eg:
FormSection
Fragment
component
return ( <FormSection name="foo" component={Fragment} /> );
The following error message is shown in the console:
Warning: Failed prop type: Invalid prop `component` supplied to `FormSection`.
I would actually expect that FormSection should act like a Fragment by default, but at the very least it should support it as a component prop.
Can use the following workaround:
return ( <FormSection name="foo" component={ props => <Fragment {...props} /> } /> );
The text was updated successfully, but these errors were encountered:
Duplicate of #3859
Sorry, something went wrong.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
Are you submitting a bug report or a feature request?
Bug report
What is the current behavior?
When using the
FormSection
component, you can't useFragment
in thecomponent
prop. Eg:The following error message is shown in the console:
What is the expected behavior?
I would actually expect that FormSection should act like a
Fragment
by default, but at the very least it should support it as a component prop.Other information
Can use the following workaround:
The text was updated successfully, but these errors were encountered: