-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Open
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: sfc
Description
Vue version
^3.5.17
Link to minimal reproduction
Steps to reproduce
- Open link with example
- Check on the UI result of "required" compilation (ExampleWithoutBug.vue)
- Check on the UI result of "required" compilation (ExampleWithBug.vue)
What is expected?
required prop in both of examples compiles to JS boolean type
What is actually happening?
required prop in ExampleWithBug.vue compiles to JS empty string
System Info
System:
OS: macOS 14.4.1
CPU: (8) arm64 Apple M1
Memory: 160.03 MB / 8.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.15.0 - /Users/me/.nvm/versions/node/v22.15.0/bin/node
npm: 10.9.2 - /Users/me/.nvm/versions/node/v22.15.0/bin/npm
Browsers:
Chrome: 143.0.7499.170
Safari: 17.4.1
npmPackages:
vue: ^3.5.17 => 3.5.22Any additional comments?
Is this should happen by design or you can fix that bug in future ? Thanks!
Metadata
Metadata
Assignees
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: sfc