You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: