For core views select lists and entity reference views select lists, $element may come in as simply $element. patch attached will check

Comments

el1_1el created an issue. See original summary.

el1_1el’s picture

StatusFileSize
new3 KB

And i forgot to uncomment the new code.

nickdickinsonwilde’s picture

Status: Needs review » Fixed

Thanks for the patch, implemented slightly differently in #3046618: Add support for new media_library_widget, handle widgets without [0] array in $element. but crediting you here.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.