Skip to content

passing props to vue 3 composable isn't reactive #10106

Discussion options

You must be logged in to vote

aProp is a ref, so aProp === '' will always be false.

What you would need is aProp.value === ''

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@inthegreenwild
Comment options

Answer selected by inthegreenwild
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants