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

add data-skip-morph attribute to TomSelect #28

Open
rugbymauri opened this issue May 27, 2024 · 0 comments
Open

add data-skip-morph attribute to TomSelect #28

rugbymauri opened this issue May 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rugbymauri
Copy link
Contributor

When using TomSelect fields and Twig-LiveComponents the data-skip-morph should be set to TomSelect.

this prevents Turbo to use morphing, on the TomSelect Controls

https://github.com/symfony/ux-autocomplete/blob/2.x/assets/src/controller.ts#L62

     if (this.selectElement) {
            this.selectElement.setAttribute('data-skip-morph', '');
        }
@rugbymauri rugbymauri added the bug Something isn't working label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant