Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #447 [Autocomplete] Fix extending Tom Select when using custom Aj…
…ax class (ralfkuehnel) This PR was merged into the 2.x branch. Discussion ---------- [Autocomplete] Fix extending Tom Select when using custom Ajax class | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Tickets | Fix #... | License | MIT I have tried to follow the [documentation](https://symfony.com/bundles/ux-autocomplete/current/index.html#extending-tom-select) to extend Tom Select using a custom Stimulus controller. It worked when updating the field configuration but did not when using a custom Ajax class. In this case the core Autocomplete Stimulus controller was missing in the rendered data-controller-Tag. Changing the autocomplete form theme to use the attributes from the autocomplete field seems to fix this! Commits ------- 3abb968 [Autocomplete] Fix extending Tom Select when using custom ajax class
- Loading branch information