- 🇮🇳India nayana_mvr
Verified the patch #6 and tested it on Drupal version 9.5.x and Textfield Counter 8.x-1.x. The patch works fine and I have added the before and after screenshots for reference.
- 🇵🇰Pakistan hamza_niazi
I updated the code to reference the validation method using the class name (static::class) instead of dynamically deriving it. This ensures the method is correctly called on the class using the trait, resolving the instantiation error.
The issue in #8 patch was this code originally attempted to call the validateFieldFormElement method using a dynamically derived class name from traits, which caused an error because traits cannot be instantiated or referenced in this manner. So i update the patch