Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

0.13.2 - When a button-checkbox's ng-disabled is false, model doesn't change when clicking #4088

Closed
starf opened this issue Aug 3, 2015 · 2 comments

Comments

@starf
Copy link

starf commented Aug 3, 2015

when (checkbox/radio) button's ng-disabled has a false value, clicking it does not change the model

problem occured after switching to 0.13.2 (worked OK in 0.13.1)

see plunkr: http://plnkr.co/edit/hjcmk0fNvRVjD0rFJjAG?p=preview

@starf starf changed the title 0.13.2 - When a button-checkbox's ng-disabled="false" it should work 0.13.2 - When a button-checkbox's ng-disabled is false, model doesn't change Aug 3, 2015
@starf starf changed the title 0.13.2 - When a button-checkbox's ng-disabled is false, model doesn't change 0.13.2 - When a button-checkbox's ng-disabled is false, model doesn't change when clicking Aug 3, 2015
@wesleycho
Copy link
Contributor

Good catch - @RobJacobs looks like your observation about 'disabled' in attrs was on point. Changing to !attrs.disabled there fixes it, as can be seen here.

@wesleycho wesleycho added this to the 0.13.3 (Performance) milestone Aug 3, 2015
@wesleycho
Copy link
Contributor

Just a note, I may do a mid-week release in order to get this fix and another out there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants