Closed (fixed)
Project:
Textfield Counter
Version:
2.1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 Mar 2022 at 00:59 UTC
Updated:
19 Jul 2023 at 14:43 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
coaston commentedSame issue here, any patch please ?
Comment #3
coaston commented@Daniel,
I tried to create a patch, but I am not sure if it is ok - it works for me, but still note sure if this is a good approach. Feel free to test.
-issues says that we should not call Calling static trait method from function getLengthOfSubmittedValue, but now it should be called directly from function validateFieldFormElement, so I just moved that code there and removed getLengthOfSubmittedValue function.
Comment #4
qrinaldi commentedHi
I can't use the #3 patch. Here is mine.
Comment #5
qrinaldi commentedComment #6
avpadernoComment #7
avpadernoComment #8
geoffray commentedPatch #4 worked for me. Thanks
Comment #9
godotislateI think the way the validate callback is added can be simplified so that it's called by the class.
Patch attached.
Comment #10
edmund.dunn commented#4 worked for me!
Comment #11
coaston commented#9 works fine.
Comment #12
kris77 commented#9 works for me too.
Thanks @coaston
Comment #13
svendecabooterPatch #9 works as expected. Marking as RTBC
Comment #15
edmund.dunn commentedComment #16
edmund.dunn commented