No counter when validating in blueprints?

Hi, just a short question. I came across the char counter plugin for blueprints and have seen that this functionality for validation is now included in the Kirby core.

  testtext:
    label: Test
    type: textarea
    validate:
      max: 240
      - MaxLength

I tried several options like MaxLength, and it seems to work but no counter ( e.g. “34/200”) is showing up. Has such a counter been included when the plugin has been ported to the core?

1 Like

The syntax is like this:

fields:
  example:
    label: Example field
    type: text
    validate:
      maxLength: 10

https://getkirby.com/docs/cheatsheet/validators/max-length

Thanks for your reply. Will test it. Just saw the error.

Works, thanks :slight_smile: