Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
astroidex opened this issue Jul 6, 2021 · 0 comments

Comments

@astroidex
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant