entity_reference_select_create
No security coverage
When editors need to reference an entity that doesn't exist yet, the standard Drupal workflow forces them to leave the form, create the entity, then come back and try again. Entity Reference Select Create solves this by adding a "Create" button directly next to the select list. Editors click it, fill out a modal form, save, and the new entity appears in the select list instantly. No page reload, no lost work.
Features
- Adds a modal "Create" button next to any entity reference select field
- New entity is automatically added to the select list after saving with no page reload
- Works with any entity type and bundle (nodes, taxonomy terms, custom entities, etc.)
- Control exactly which fields appear in the modal by creating a dedicated form display
- Configurable button label
- No contrib or third party dependencies
Post-Installation
No configuration page. Setup is done entirely through the standard form display UI:
- Go to the form display for the entity that has an entity reference field (e.g. Structure → Content types → [Type] → Manage form display)
- Change the widget for the target field to "Select list with create button"
- Configure the widget settings: bundle to create, form mode, and button label
To control which fields appear in the modal, create a dedicated form display mode for the referenced entity type at Structure → [Entity type] → Manage form display, then enter its machine name in the widget's "Form mode" setting.
Similar projects
- Entity Reference Modal - provides the same modal creation pattern but uses an autocomplete widget instead of a select list, and requires Bootstrap 5.
- Inline Entity Form - embeds the referenced entity's form inline on the page rather than in a modal. More powerful but adds more visual weight to the form.
- Entity Connect - adds a create button that navigates to a separate page, then redirects back. No modal.