Closed (fixed)
Project:
Custom Field
Version:
4.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Apr 2026 at 18:53 UTC
Updated:
25 Apr 2026 at 23:40 UTC
Jump to comment: Most recent
Comments
Comment #2
dave reidAlternatively, I'd love to be able to integrate https://www.drupal.org/project/maxlength automatically with all the widgets instead of having to write custom maxlength settings.
Comment #3
apmsooner commentedNot all of the widgets would be relevant for maxlength but this could be possible for the link widgets pretty easily like we do for the text widget: https://git.drupalcode.org/project/custom_field/-/blob/4.0.x/src/Plugin/...
Comment #4
apmsooner commentedI honestly havn't tested the maxlength stuff on textfields even for quite a while but pretty sure it works but perhaps limited in some of the settings in comparison to maxlength module. My longer term goal was to just have our own maxlength js and rid the dependency on the module as I'm not fond that its still using Jquery. It shouldn't be that big of a deal to convert their script to pure js. Alot of these other modules are just not too actively maintained to even bother spending my own time contributing to.
Comment #6
apmsooner commentedComment #7
dave reidTested and confirmed latest version.
Comment #8
apmsooner commentedComment #10
apmsooner commented