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

Boolean multi word property (kebab case) binding doesn't work #12030

Closed
mgibas opened this issue Sep 25, 2024 · 0 comments
Closed

Boolean multi word property (kebab case) binding doesn't work #12030

mgibas opened this issue Sep 25, 2024 · 0 comments
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. regression scope: custom elements

Comments

@mgibas
Copy link

mgibas commented Sep 25, 2024

Vue version

3.5.8

Link to minimal reproduction

https://stackblitz.com/edit/vitejs-vite-4jp7yp?file=src%2Fcomponents%2FMyCustomElement.ce.vue

Steps to reproduce

Run stackblitz

What is expected?

Both properties have 'true' as a value and I would expect it will be binded as an attribute.

What is actually happening?

Multiword (with a dash) Boolean property is not binded to the component.

System Info

No response

Any additional comments?

Same repro that works properly on vue 3.4.38: https://stackblitz.com/edit/vitejs-vite-b4us8q?file=src%2Fcomponents%2FMyCustomElement.ce.vue

@jh-leong jh-leong added 🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. scope: custom elements regression labels Sep 25, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Oct 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. regression scope: custom elements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants