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

Radio buttons should treat the enum value as primal #57

Open
scallyw4g opened this issue Mar 8, 2024 · 0 comments
Open

Radio buttons should treat the enum value as primal #57

scallyw4g opened this issue Mar 8, 2024 · 0 comments

Comments

@scallyw4g
Copy link
Owner

At the moment the radio buttons are a little weird.

They currently don't treat the enum value they're created from as primal. The proof of this is that if you open two windows that read/modify the same value, toggling a radio button in one does not update the other. This is undesired, and actually a bug. Since the underlying enum value is actually modified, the view that doesn't update is stale, and displaying the wrong value!!

Additionally, radio groups don't display the default value (typically zero), as selected, which smells pretty wrong.

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