Skip to content

Headless CMS content models - option for unique integer #2322

Open
@plsalvado

Description

@plsalvado

Is your feature request related to a problem? Please describe.

Certain field types like Text can be defined as Unique in the system, but not Integers.

There are use cases such storing employee IDs, or book ISBNs (or FWIW any integer based UUID) - where integers should be treated as unique in the system.

Describe the solution you'd like.

Include a "Unique" option in the Integer field type. Right now these are the only options available.

Screenshot 2022-04-11 at 15 59 59

Describe alternatives you've considered.

As an alternative one can define the field as a Unique Text and use a regex pattern that only accepts integers.

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