How to put view results in an entity reference field? So the scenario is like this:
I have to create a &quot;node&quot; which has an entity reference field which can hold multiple values. I am looking for a way to be able to select view results to be stored in the entity reference field and I do not know how to do that in Drupal 8.
For Drupal 7 there was this module which does what I need https://www.drupal.org/project/entityreference_view_widget
I have tried doing it the custom way by creating views and placing them on the same page as the node create and then getting the resulting values with ajax to store in the field but I do not believe that is the best way to go about it as it does not seem reliable.
Any advice is appreciated.
The closest match to the link you shared is the Entity Browser module.

Goal of this module is to provide a generic entity browser/picker/selector. It can be used in any context where one needs to select few entities and do something with them.

The module allows you to build your own widgets (similar to the Media Library) to use with entity reference fields or in WYSIWYGs, via integration with the Entity Embed module. You can create widgets with multiple options, an option to create new content (with the entity_form submodule), and select existing content via view displays.