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

Make Radio return arbitrary values instead of strings #302

Open
laggvar opened this issue Mar 20, 2024 · 0 comments
Open

Make Radio return arbitrary values instead of strings #302

laggvar opened this issue Mar 20, 2024 · 0 comments

Comments

@laggvar
Copy link

laggvar commented Mar 20, 2024

My intuition suggests that Radio and Select should behave identically apart from visual appearance. However, Radio only supports strings as key values. Thus,

@bind M Radio([M1 => "Diagonal Matrix", M2 => "Symmetric Matrix"])

does not work but

@bind M Select([M1 => "Diagonal Matrix", M2 => "Symmetric Matrix"])

does.

It seems this issues used to exist for Select too, but it was fixed in #3. Was Radio perhaps forgotten?

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

No branches or pull requests

1 participant