I have two content types that share a taxonomy (Size).
On content type A, I have an “entity reference” to content type B in the form of a checkbox widget.
What I want: On the node creation form, when I change the size (without saving), the entity reference filter gets updated appropriately.
What I currently have: The entity reference filter only changes when I save the node.
How I got there:
I’m using an Entity Selection views filter by entity reference view
In my entity reference view, the only thing I could come up with is to set a contextual filter of “content has taxonomy term ID”
Then use “provide default value” -> “taxonomy term ID from URL” and “load default filter from node page”
So, If I create a new node of type “A” and set “Size” to “Size X” and SAVE the node, the entity reference gets filtered properly.
What I want to happen is that on the node creation form, when I change the size it dynamically filters the entity reference without having to save the node.
There is no ajax option on an entityreference views display, and I”m not seeing any other modules that seem to solve this.
Can anyone point me in the right direction here?