Hello,

In "Form Display" section, when we use a "Input masks" and a "Minlength" together, the result length is always the length of the mask and so the verification always pass througth...

Comments

steveoriol created an issue. See original summary.

jrockowitz’s picture

Status: Active » Closed (works as designed)
StatusFileSize
new212.17 KB

Minlength is working via server-side validation.

Here is YAML source

ssn:
  '#type': textfield
  '#title': ssn
  '#minlength': '10'
  '#input_mask': 999-99-9999
steveoriol’s picture

Yes, but as soon as you start typing something in the field, it does not work any more ...