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

[V2] Fix CheckboxRoot update:modelValue typing #1422

Merged
merged 3 commits into from
Nov 17, 2024
Merged

Conversation

aguingand
Copy link

@aguingand aguingand commented Nov 14, 2024

Typing of Checkbox emit('update:modelValue') should be boolean | 'indeterminate' instead of AcceptableValue.

@aguingand aguingand changed the title [V2 ] Fix CheckboxRoot update:modelValue typing [V2] Fix CheckboxRoot update:modelValue typing Nov 14, 2024
@zernonia
Copy link
Member

Hey @aguingand ! My bad you were actually correct in the first commit, where the type should be just boolean | 'indeterminate'. I remember wrongly regarding the changes mada to support for custom types and array (which has been moved to CheckboxGroupRoot.

@zernonia zernonia merged commit efb280b into unovue:v2 Nov 17, 2024
3 checks passed
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