How to show a single ief form on the node form for fields with unlimited cardinality

Created on 27 July 2022, over 2 years ago
Updated 7 May 2024, 7 months ago

Problem/Motivation

When creating a node with an entity ref field that uses IEF, i want to show a single form on the first page load, as if the user had already clicked the "Add new @type_singular" button when the form loads, in order to save the user a click.

I have tried several different approaches, including injecting an ief_add form into the widget with a form alter, none of which have been successful.

Is there a simple way to do this?

πŸ’¬ Support request
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States AaronBauman Philadelphia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024