Closed (works as designed)
Project:
Views Reference Field
Version:
8.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Jul 2017 at 05:04 UTC
Updated:
1 Oct 2020 at 00:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
NewZeal commentedAdding a patch for this so that it can be added to 2.x.
Note that the patch also includes a fix for when attempts are made to save a View name without a display id.
Comment #5
seanbCommitted to 2.x with minor changes. I believe the UX can be improved a bit more by filtering the view names that lead to the error (why show the view in the first field if selecting it will lead to an error right?). If we fix that we can remove the JS that shows the error again.
Comment #6
NewZeal commentedI agree, limiting the Views before they are presented would be ideal.
I had a brief look at this but attempting to filter the items available to the entity autocomplete requires deep Drupal penetration and I currently don't have the time. It may be easier to do it for the select field I don't know I haven't looked.
Comment #8
NewZeal commentedThis problem may be solved in the same way that entity reference views can be used to filter a reference field. That would be the first place to look. Anyway we should probably leave this ticket open for potential contributions.
Comment #9
NewZeal commentedNo followup occurred. Closing issue.