The token added to the DOMTokenlist is in the wrong format and my formie error message is printed twice. When i use only one class e.g. 'text-error' it does work.
Steps to reproduce
Render form with the themeConfig
use the fieldError property
set the class attribute to something with two classes ( 'text-red-500 font-medium text-sm')
Describe the bug
Using the themeConfig and setting the fieldError property with multiples classes breakes the property.
The token added to the DOMTokenlist is in the wrong format and my formie error message is printed twice. When i use only one class e.g. 'text-error' it does work.
Steps to reproduce
Form settings
Craft CMS version
5.1.2
Plugin version
dev-craft-5 as 3.0.0-beta.10
Multi-site?
No response
Additional context
No response