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.
I have an entity reference field which is required. There is no way to select NONE for the second or greater value. I have a patch.
Comment | File | Size | Author |
---|---|---|---|
#10 | 2866543-10.patch | 2.93 KB | mrinalini9 |
#2 | 2866543.patch | 2.9 KB | darrick |
Comments
Comment #2
darrick CreditAttribution: darrick commentedThe patch. Not sure if the best way but seems to work okay. I tested with both required TRUE and FALSE.
Comment #3
colepacak CreditAttribution: colepacak commentedThanks for the patch, @darrick.
Comment #4
LNakamura CreditAttribution: LNakamura at Mediacurrent commentedThis patch works great for me!
Comment #5
Tichris59 CreditAttribution: Tichris59 commentedPatch is OK , thanks !
Comment #6
jeffamWorks in my testing, too.
Comment #7
khaled.zaidan CreditAttribution: khaled.zaidan at Reading Room commentedTested here, too... looking good.
Comment #8
JeroenTPatch no longer applies.
Comment #9
mrinalini9 CreditAttribution: mrinalini9 at Srijan | A Material+ Company for Drupal India Association commentedComment #10
mrinalini9 CreditAttribution: mrinalini9 at Srijan | A Material+ Company for Drupal India Association commentedRerolled patch #2, please review.
Comment #11
JeroenTComment #13
JeroenTCommitted and pushed to 8.x-1.x. Thanks!