Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When selecting more than allowed items in the media library popup a form error message appears:
You can not select more than 1 entity.
When inline form errors is enabled, an error appears: 1 error has been found: Select this item
This error is not useful and seems to be introduced here: https://www.drupal.org/project/drupal/issues/2962525
Comment | File | Size | Author |
---|---|---|---|
#8 | 2998066-disable-inline-form-errors.patch | 529 bytes | Dave Reid |
#3 | 2998066_3.patch | 529 bytes | mpp |
Comments
Comment #3
mpp CreditAttribution: mpp at AmeXio for District09 commentedAdded patch to disable inline form errors.
Before:
After:
Comment #4
mpp CreditAttribution: mpp at AmeXio for District09 commentedComment #5
zero2one CreditAttribution: zero2one at Serial Graphics for District09 commentedTested patch #3 : works for me.
Comment #6
Fernly CreditAttribution: Fernly at Dropsolid for District09 commentedLooks good! Thank you.
@mpp you might want to check the patch naming conventions.
Comment #7
oknateIt looks like this needs a re-roll. Tests would be helpful too.
Comment #8
Dave ReidThe patch does cleanly apply, it's just that the project was changed, and before it was trying to apply the patch to Drupal Core, not Entity Browser. So re-uploading
Comment #9
smulvih2Patch #8 works for me.
Comment #10
joseph.olstad+1 for this
Comment #12
Dave ReidCommitted #8 to 8.x-2.x. Thanks all!
Comment #13
joseph.olstad@Dave Reid, thanks for this, could you also please tag a release?
Comment #14
Dave ReidYup, I am working on reviewing the RTBC queue still.
Comment #16
stefan.kornIsn't this a bit overdoing to disable inline form errors in general when the issue is only about a specific field widget?