The address-form.tpl 's form should have the "needs-validation" class. With this class, the trim function for address fields will be called.
Node.js version
v14
php version
v8.1
OS and it's version
ALL
Browsers
No response
Required module/theme
theme
Reproduction steps
1. Add an address in the frontend
2. Add a "space" to a name / street field at the end
3. Save
4. Validation error will occur.
With the class, the "on blur" -> trim() will be called, like in the personal information form.
Description
The address-form.tpl 's form should have the "needs-validation" class. With this class, the trim function for address fields will be called.
Node.js version
v14
php version
v8.1
OS and it's version
ALL
Browsers
No response
Required module/theme
theme
Reproduction steps
Logs
No response