Skip to content

Support prohibitRegexp field validation #147

@DeJonge00

Description

@DeJonge00

When trying to implement a content-type with field-type "Short text", we are trying to use a validation that is not present in the terraform provider that we like to see added. This validation type "prohibitRegexp" is not present in the documentation for fields.validations either.

The JSON structure of this field looks like this:

{
  "validations": [{
    "prohibitRegexp": {
      "pattern": "example.com",
      "flags": "i"
    },
  }]
}

The input and output of this implementation is likely similar to the "regexp" field in the same validations field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions