Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tailwind Formatting Template duplicating classes #1506

Open
svondervoort opened this issue Sep 4, 2024 · 0 comments
Open

Tailwind Formatting Template duplicating classes #1506

svondervoort opened this issue Sep 4, 2024 · 0 comments
Labels
issue Something isn't working correctly

Comments

@svondervoort
Copy link

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?

  1. Create a form with some basic fields
  2. Set the Formatting Template to Tailwind 3
  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

@svondervoort svondervoort added the issue Something isn't working correctly label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue Something isn't working correctly
Development

No branches or pull requests

1 participant