-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
SelectButton: inverse unselectable
behaviour
#3708
Comments
Fixed via #3610 |
@aguyfromdenmark @tugcekucukoglu Current (3.26.0) behaviour for |
I'm utterly confused by this change; isn't the old behavior exactly what you would expect, and the new behavior wrong? Moreover, even if you do think this is correct, reversing the behavior is a major breaking change of behavior on a minor version, which will probably end up in lots of people being confused. I would suggest rolling back this changeset and introducing a more clearly named prop (e.g. |
@rubjo Yeah, that makes perfect sense. That is the behaviour I introduced in my pull request #3610 , that @tugcekucukoglu merged on the 9th of March. Before that, @jnoordsij , you were able to completely unselect all options in the SelectButton when setting There is a chance that I am misunderstanding what this thread is about, but it am genuinely confused to as what the ongoing "problem" seems to be. |
I think the problem is indeed the mixed interpretation of what I do agree the reverse interpretation migth be logical in some sense as well; hence my proposal to revert to the previous (documented) state and to use a more clear naming to go forward instead. |
Yeah, support @jnoordsij’s suggestion here. |
@jnoordsij That makes sense. It can be read both ways. Now, it's a long time since I made my pull request, so I can't say for sure. But I think the docs might have said something else back then, because I was flabbergasted when I found out that it did the inverse of what I expected. I will always read So I guess this is something for someone else to decide what to do about, |
I read unselectable=true to «can be unselected». 🙂 |
And there ya' have it 🤣 |
Want to chime in @tugcekucukoglu ? To unselect something is to clear something. Hence, unselectable === clearable. |
+1 to @jnoordsij 's suggestion. Definitely don't reverse the behavior as that would break all existing code using that property. Deprecate it, replace the naming with something less ambiguous. |
No description provided.
The text was updated successfully, but these errors were encountered: