I'm trying to create a supplies field made up of a select list (or entity reference) and a number field. Users should be able to create several of these.

For example, the link field has a URL and Title element, (but for this supplies field, there would be a select list instead of the URL field).

Try to find a standalone field (rather than using paragraphs or field collection) for ease of use with JSON:API.


Currently looking at:

The reference value pair combines an entity reference with a free text value field in one new field type.

Source: https://www.drupal.org/project/reference_value_pair

Other related projects:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.