-
Notifications
You must be signed in to change notification settings - Fork 8
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
Error: Objects are not valid as a React child #96
Comments
i think it's not relateed to that pr. Could you make some debug end eventually make a pr ? |
I have a PR with a fix. Just for the record: I had the problem on Volto 18 with volto-light-theme, but I tried in a fresh Volto 17 project and this had the same problem that the form could not be submitted. |
For me this PR did not fix this issue (tested with vanilla Volto 17.15.5 & Plone 6.0.9).
Furthermore if PR with fix: #101 |
@mauritsvanrees @mbarde that PR doesn't fixes the problem and introduces another error. if you don't obtain that response from server, maybe you have to check your Plone addons installed and their versions, or if you have something in the middle that changes the response format. |
@giuliaghisini Thank you! Yes, the response looks exactly as you describe. But still at this line
which can not be rendered like that: In my opinion the fix should be: |
@mbarde your're right! colud you make a pr for this please? |
@giuliaghisini PR: #103 |
I see the same, an Object with a message and data. Copied from console:
|
I have a Plone 6.0 site with Volto 18, volto-light-theme, and
collective.volto.formsupport
(tried 2.7.0 and 3.0.2).volto-form-block
3.7.3 works fine. But when using latestvolto-form-block
3.8.2 (or 3.7.4 or 3.7.5) I get this error when submitting a form:Since this error first appears for me in 3.7.4, it should be related to PR #94 by @giuliaghisini . Any idea?
The text was updated successfully, but these errors were encountered: