- Issue created by @prudloff
- last update
almost 2 years ago 6 fail - @prudloff opened merge request.
- 🇺🇸United States cedewey Denver, CO
Hi Pierre,
Thanks for the feature request. We should think through the workflow for this to decide whether it is a feature we'll incorporate into the module.
I don't think we should enable MaxLength on all fields because not everyone wants to see that countdown message for every field that has a maxlength value.
We could provide a configuration option that is something like, "Display countdown message on all fields with a maxlength." But then we start getting into overridden settings with one behavior set on a MaxLength configuration page and other settings being defined at the form display level.
I'm afraid this feature request is going against our values of
- intuitive for site builders
- sustainable for site owners
However, I'd like to hear any additional thoughts you have on this.
Thanks!
- 🇫🇷France prudloff Lille
I totally agree this should not be enabled automatically.
If you don't want to add a setting for this, I guess we could also publish this as a separate contrib module that depends on maxlength.
- Status changed to Closed: works as designed
almost 2 years ago 7:39pm 27 May 2023 - 🇺🇸United States cedewey Denver, CO
I think a contrib module is the best way to go. If you end up creating it, let us know and we'll be happy to reference it on the project page and mention it in the documentation. Thanks!
- 🇫🇷France prudloff Lille
I published a new contrib module here: https://www.drupal.org/project/maxlength_auto/ →
- 🇺🇸United States cedewey Denver, CO
Nice! I just updated the MaxLength project description and the documentation mentioning it. Thanks for contributing that module!