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

[Bug]: ToggleGroup was failing when 'string' as modelValue is used. #1553

Open
ucyildirim opened this issue Jan 11, 2025 · 1 comment · May be fixed by #1554
Open

[Bug]: ToggleGroup was failing when 'string' as modelValue is used. #1553

ucyildirim opened this issue Jan 11, 2025 · 1 comment · May be fixed by #1554
Labels
bug Something isn't working need-reproduction Issue is lacking reproduction. Will be close if not provided.

Comments

@ucyildirim
Copy link
Contributor

Environment

environment does not matter.

Link to minimal reproduction

Steps to reproduce

use string as modelValue for ToggleGroup.

Describe the bug

ToggleGroup was failing when 'string' as modelValue is used.

const pressed = computed(() => rootContext.modelValue.value?.includes(props.value))

PR is submitted.

Expected behavior

No response

Context & Screenshots (if applicable)

No response

@ucyildirim ucyildirim added the bug Something isn't working label Jan 11, 2025
ucyildirim added a commit to ucyildirim/radix-vue that referenced this issue Jan 11, 2025
@zernonia
Copy link
Member

Please provide a reproduction @ucyildirim .

It seems to be working fine https://www.radix-vue.com/components/toggle-group.html

@zernonia zernonia added the need-reproduction Issue is lacking reproduction. Will be close if not provided. label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need-reproduction Issue is lacking reproduction. Will be close if not provided.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants