[FEATURE] Get Entity Browser to work with typed relation fields.
Opened this issue · 0 comments
Drupal's Entity Browser lets you replace an entity autocomplete by a view. This lets you have extensive sorting and filtering. Example shown here:
However it doesn't work with Typed Relation fields, because the Entity Browser widget is exclusive to Entity Reference fields.
Can we extend the Entity Browser widget so that it works with Typed Relations?
A naive attempt resulted in a partial success, except for its handling of multiple values. As seen below, the Entity Browser widget handles all values as part of a single widget, while the typed relation field, when repeated, causes separate widgets. In the example below, the "creator" entity and the "publisher" entity both show up under both relations - not good.
There are probably other places where this fails. Can we find a way to harmonize these awesome modules?