Skip to content

dgitizer mandatory possibility to restrict the input to special characters changed #267

Description

@astroidex

Describe the bug
The old way to define a mandatory restriction for the input does not work in digitizer 1.4.x anymore.

old way
mandatory: '/^[0-9]+$/'

New way:

- type: input
  name: mycolumn
  title: Test
  attr: {type: 'number', required: 'required'}
  mandatoryText: 'Only numbers'

https://github.com/mapbender/mapbender-documentation/blob/release/3.2.0/en/functions/editing/digitizer/digitizer_configuration.rst#mandatory-fields

Please update the doku and maybbe check with the developer to get the exact information about the change.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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