Problem
There are supposed to be a error message above the multivalue widget when values are invalid.

The message only appears when at least one valid field is submitted.

Steps to reproduce
- Add a field with unlimited cardinality to some node bundle.
- Open "Create" form
- Fill the field widget with some wrong values
- Click "Add another item" button
Expected behavior
Here how it works in Drupal 7.

| Comment | File | Size | Author |
|---|---|---|---|
| #9 | test-3380036.gif | 5.55 MB | joaopauloc.dev |
| #5 | drupal9-5.png | 53.73 KB | viren18febs |
| #3 | Screenshot 2023-08-17 164822.png | 22.58 KB | viren18febs |
| d7-first-item.png | 43.92 KB | chi | |
| d10-second-item.png | 158.43 KB | chi |
Comments
Comment #2
viren18febs commentedI am working on it.
Comment #3
viren18febs commentedAs I have checked in Drupal 7.98, the error message is showing on top of the form. can please confirm the version of Drupal & Contrib module. Attaching image for your reference.
Comment #4
chi commentedThe version is in issue metadata. Actually it affects all Drupal versions since Drupal 8.x.
Comment #5
viren18febs commentedI am getting the error on top of the form for both Drupal 7 & 9.5 version.
Image for reference.
Comment #6
smustgrave commentedDoesn't appear to have a patch so nothing to review.
Comment #7
joaopauloc.dev commentedI think this issue was fixed here
Comment #8
smustgrave commented@Chi could you confirm?
Comment #9
joaopauloc.dev commentedSounds good to me.

Comment #10
chi commentedIt's not fixed yet. However, given that #3076054: Existing field items should not be validated when adding another item in widget for unlimited cardinality field was reported earlier I think this one can be closed as duplicate.