Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

ng-disabled not read #11

Open
shanedublin opened this issue Jun 21, 2015 · 1 comment
Open

ng-disabled not read #11

shanedublin opened this issue Jun 21, 2015 · 1 comment

Comments

@shanedublin
Copy link

this busy function overrides the ng-disabled.

if ng-disabled = false then when busy is done, ng-disabled get ignored.

@speedster-kiev
Copy link

Had the same issue. Just use this instead of ng-disabled:
not-busy-disabled="{{ yourFlagForDisable }}"

UPD: Actually, if you need to change button disable without emitting event you should use both. ng-disabled which will enable disable button on changes of model for example, and not-busy-disabled to get back to the required disable state after "busy" is finished. Of course it would be better that not-busy-disabled were mapped to button disable attribute, then we could use only 1 directive

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

No branches or pull requests

2 participants