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

fix(buttons): proerly handle disabled propery on a button level #1141

Closed
wants to merge 1 commit into from
Closed

fix(buttons): proerly handle disabled propery on a button level #1141

wants to merge 1 commit into from

Conversation

pkozlowski-opensource
Copy link
Member

Fixes #1088
Fixes #1089

Copy link
Contributor

@alex321 alex321 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This certainly solves #1089.

The only thing missing is when you change the group state from disabled to enabled, you'll enable all buttons I think, even if they are bound to disabledRadio = true. That could be a separate issue though.

You are still doing side-effects in the set ^ ^

@pkozlowski-opensource
Copy link
Member Author

The only thing missing is when you change the group state from disabled to enabled, you'll enable all buttons I think, even if they are bound to disabledRadio = true. That could be a separate issue though.

Yep, there are more corner cases I can think of - I will open separate issues for those.

You are still doing side-effects in the set ^ ^

Side effects in a setter are fine, I was complaining about side effect in a getter (or at least this was my intention :-))

I'm going to go ahead and merge this one as it solves reported issues and doesn't introduce new problems. But yeh, we should have separate issues for more corner cases we've identified. Thnx for your pull request - even if it is not merged it made me better understand the underlying issue and fix options!

@alex321
Copy link
Contributor

alex321 commented Dec 15, 2016

@pkozlowski-opensource At least I tried. :)
I am quite happy to get any buttons or other issues assigned and give them a shot. I've got some spare time around the holidays.

@pkozlowski-opensource
Copy link
Member Author

At least I tried. :)
I am quite happy to get any buttons or other issues assigned and give them a shot. I've got some spare time around the holidays.

This is what I call open source spirit, thnx @alex321 ! I've just opened #1143 so it might be a good issue to play with as you know the code and problems right now. But of course any help is more than appreciated. Feel free to ping me on GitHub if you are stuck on anything.

Thnx again!

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.

None yet

2 participants