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

Script setup is not supported symbol prop #4592

Closed
oooplz opened this issue Sep 15, 2021 · 0 comments · Fixed by #4594
Closed

Script setup is not supported symbol prop #4592

oooplz opened this issue Sep 15, 2021 · 0 comments · Fixed by #4594
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. 🐞 bug Something isn't working scope: script-setup

Comments

@oooplz
Copy link

oooplz commented Sep 15, 2021

Version

3.2.11

Reproduction link

sfc.vuejs.org/

Steps to reproduce

That prop visible type is boolean | symbol was defined, then default value is symbol value.

What is expected?

If no providing visible prop in the parent component, the sub component visible prop default value is Symbol('visibleUndefined')

What is actually happening?

Its throwing error that can not convert string to symbol

@LinusBorg LinusBorg added 🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. 🐞 bug Something isn't working scope: script-setup labels Sep 16, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 11, 2023
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. 🐞 bug Something isn't working scope: script-setup
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants