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.
Currently when using the dynamic_entity_reference_options_select widget, the options are shown in optgroups.
Patch attached only shows the items in optgroups when there are multiple target_bundles available.
Comment | File | Size | Author |
---|---|---|---|
#7 | disable_optgroup_in-2829602-7.patch | 2.94 KB | JeroenT |
| |||
#2 | disable_optgroup_in-2829602-2.patch | 870 bytes | JeroenT |
|
Comments
Comment #2
JeroenTCurrently when using the dynamic_entity_reference_options_select widget, the options are shown in optgroups.
Patch attached only shows the items in optgroups when there are multiple target_bundles available.
Comment #3
JeroenTComment #4
jibranCan you please add screenshots for this and some quick test?
Comment #5
JeroenTAttached is a before and after screenshot.
Comment #6
jibranThanks for the screenshots. These look awesome. Let's add some tests and finish it.
Comment #7
JeroenTCreated a test.
Comment #9
jibranThis is ready.
Comment #10
jibranAwesome work with the tests. Thank you!
Comment #12
jibranPushed to 8.x-1.x