Skip to content

[Map] Fix custom attribute "data-controller" usage #2032

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

Merged

Conversation

Kocal
Copy link
Member

@Kocal Kocal commented Aug 8, 2024

Q A
Bug fix? yes
New feature? no
Issues Fix #...
License MIT

I'm trying the new UX Map component on my website, to migrate from my homemade solution, and it looks like I forgot to fully implement the data-controller special behavior.

Calling render_map(map, { 'data-controller': 'my-map' }) will now correctly be rendered.

@carsonbot carsonbot added Bug Bug Fix Status: Needs Review Needs to be reviewed labels Aug 8, 2024
@Kocal Kocal force-pushed the fix/map-render-attribute-data-controller branch from 5183989 to 708d8a6 Compare August 8, 2024 07:41
@Kocal Kocal changed the title [Map] Fix custom attribute "data-controller" [Map] Fix custom attribute "data-controller" usage Aug 8, 2024
@Kocal Kocal requested a review from WebMamba August 8, 2024 07:46
@javiereguiluz
Copy link
Member

Thanks for fixing this bug Hugo.

@javiereguiluz javiereguiluz merged commit e122096 into symfony:2.x Aug 8, 2024
38 checks passed
@Kocal Kocal deleted the fix/map-render-attribute-data-controller branch August 8, 2024 09:17
@Kocal Kocal added the Map label Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug Fix Map Status: Needs Review Needs to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants