Skip to content

Conversation

knoxnoe
Copy link
Contributor

@knoxnoe knoxnoe commented Oct 9, 2022

No description provided.

@jd-solanki
Copy link
Owner

Hi 👋🏻

Thanks for the contribution.

Adding null as an additional prop type will be overkill because we can use modelValue's optional behavior for that demo. Just setting favoriteFruit to ref() for that demo will be enough.

Explanation
Setting favoriteFruit value to ref() will set its value to undefined which means modelValue is not used (optional prop will have undefined value is not used/assigned).

@jd-solanki jd-solanki changed the title type of favoriteFruit is incompatible with ARadio props feat(radio): emit update:modelValue Oct 9, 2022
@jd-solanki jd-solanki merged commit d9a768a into jd-solanki:main Oct 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants