Alerts for external validation errors in ObjectBrowserWidget
Solution
To solve this problem, I combine this.state.errors (internal errors) with this.props.error (external errors) before passing them to the FormFieldWrapper.
Testing Instructions
To simulate the issue and verify the fix:
Save Teaser without providing Target ( href).
Closes #6787
Deploy Preview for plone-components canceled.
| Name | Link |
|---|---|
| Latest commit | a88e8f2e35dcc61361b6c1979acb67370707d174 |
| Latest deploy log | https://app.netlify.com/sites/plone-components/deploys/67d04d0c0718fb0008b0d7cc |
@wesleybl
Deploy Preview for plone-components canceled.
| Name | Link |
|---|---|
| Latest commit | 5d751f0ae4bcb53e98919b14dcd4f085f43e2693 |
| Latest deploy log | https://app.netlify.com/sites/plone-components/deploys/67d04d186fd63500085a0dee |
@alexandreIFB we already have a suggested fix for this issue at: https://github.com/plone/volto/pull/6810
Can you please take a look there?
@sneridagh @davisagli Can you take a look at this bug fix?
Hi There! ๐
We haven't seen any activity on this pull request in a while :sleeping:, and we want to make sure that it's still relevant. Please let us know by:
- adding a comment about what needs to be done next ๐ฌ
- updating its status and other labels ๐ท๏ธ
Otherwise close this pull request. ๐งน