craft-freeform
craft-freeform copied to clipboard
Tailwind Formatting Template duplicating classes
What happened?
I've set up a form using the default Tailwind formatting template and whenever I inspect the wrapper within a row has duplicate classes.
This is the class attribute for a Text input:
lg:w-1/2 md:w-1/3 lg:w-1/3 xl:w-1/3 w-full px-2 w-full px-2 w-full px-2
This also happens on other levels.
I'm not extending the formatting in any way, I'm just loading and rendering the form using {{ form.render() }}
Errors and Stack Trace (if available)
No response
How can we reproduce this?
- Create a form with some basic fields
- Set the
Formatting Template
toTailwind 3
- Check the rendered HTML
Freeform Edition
Pro
Freeform Version
5.5.7
Craft Version
4.11.4
When did this issue start?
Unsure
Previous Freeform Version
No response