For example if the user selects an option, closes the selection window, then reopens it.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | entityreference_view_widget-selected_items_are_not_checked_on_reopening_modal-2177215-5.patch | 862 bytes | __cj |
For example if the user selects an option, closes the selection window, then reopens it.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | entityreference_view_widget-selected_items_are_not_checked_on_reopening_modal-2177215-5.patch | 862 bytes | __cj |
Comments
Comment #1
jsacksick commentedCan you explain more what you want? It's not super clear.
Comment #2
gaele commentedThe earlier selected item is unchecked.
Tested with a view showing "fields".
Comment #3
jsacksick commentedLet's follow the discussion in #2203703: Passing ids from entityreference into view not working
Comment #4
gaele commentedOnce the argument is passed into the view (#2203703: Passing ids from entityreference into view not working) the checkbox should be displayed as checked for the selected item(s). Currently it is always unchecked on opening the modal.
Comment #5
__cj commentedThe attached patch, checks the checkboxes in the modal window.
BUT it doesn't yet handle unchecking the checkbox - the checked checkboxes are disabled with this patch. Hence the 'needs work'.
NOTE: This patch is wholly dependant on the patch supplied in #2203703-15: Passing ids from entityreference into view not working!
Comment #6
jsacksick commentedA fix has been committed for [#8566935], if you use the "Pass selected entity ids to View" setting and follow the instructions described on the project page, the checked entities won't be displayed in the modal.