- Issue created by @cicciobat
When using Entity Browser combined with Inline Entity Form, after saving the new created node the fields are not emptied and status message that indicate correct save are not triggered
Install both Entity Browser and Inline Entity Form
Enable entity_form submodule
Create an Entity Browser with two widgets, the view one and the entity form
Create a content type with a field that reference another content and use entity browser as form widget
Try to add a new content via the entity browser previously created
After submitting new entity the field doesn't empty and no success message are shown
Cleanup fields after the submission and show success message after saving new content, I think the latter can be done by adding a message into the submit()
function inside the Drupal\entity_browser_entity_form\Plugin\EntityBrowser\Widget\EntityForm
.
I will continue to investigate how to mitigate the first bug.
Thanks
Needs work
2.13
Widget plugins