Skip to content

simple subfields #296

@fostermh

Description

@fostermh

it seems to me there is support for repeating subfields but not subfields that are not repeating. I find it very convenient to organize the schema to support subfields.

example:

  {
      "field_name": "vertical-extent",
      "label": "Vertical Extent",
      "simple_subfields": [{
          "field_name": "min",
          "label": "Min",
          "form_attrs":{"pattern":"[0-9.]+"}
        },
        {
          "field_name": "max",
          "label": "Max",
          "form_attrs":{"pattern":"[0-9.]+"}
        }
      ]
    }

While this could be done with two fields it is more obvious to users that the min and max values are related when grouped as subfields.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions