- Issue created by @daniel korte
I have reviewed the changes and confirmed that it correctly replaces the deprecated
$.trim()
function with JavaScriptβs native.trim(),
which is fully compatible with jQuery 3.5+ and the modern browser environment used in Drupal 11. The change does not alter the core functionality, as.trim()
provides the same behavior as $.trim(), ensuring that the text value is properly trimmed before processing.After testing from the branch
3510732-.trim-is-not
, I tested the character counting functionality in text fields, and everything works as expected without any errors. The update does not introduce any regressions, as.trim()
is widely supported in modern JavaScript. Since the fix is correct and verified, I am moving this issue to RTBC.- Issue was unassigned.
- Status changed to RTBC
about 1 month ago 4:38pm 2 June 2025 - π«π·France mably
Fix included in the following issue: π Switch to Vanilla JS Active .
Any feedback will be greatly appreciated.
Automatically closed - issue fixed for 2 weeks with no activity.