short-and-sweet
short-and-sweet copied to clipboard
Could be added a setting that allow to "overflow" the max characters in "maxlength"?
In summary: there are many fields where it is necessary to indicate the maximum number of "recommended" characters without however blocking the insertion of a greater number of characters, allowing to overflow.
Is there a way to set the counter and not make it become the "max limit" of the field?
Maybe you can add an "option" that, if it is enabled or disabled, do a true limit or allow to "overflow" the maxlength setting.
Thanks a lot!
Happy to accept a PR.
This does require a couple changes.
-
to enable the control we'd need to check for two attributes here, either
maxlength
or something likedata-softmaxlength
, and do the same here to get the value. -
additionally we'd have to show a different message when the soft max length is exceeded.
Hello,
I'm meeting the same issue with some of my clients wanting to go further than 160 char. Have alerted BrainTeenman here : https://github.com/joomla/joomla-cms/issues/36939#issuecomment-1134829013
Any idea how to fix the max char count on a temp basis + how to fix it with - suggestion - having it dynamic via the Config > SEO dashboard (see my screen capture on link above). Thanks
Philippe