-
Notifications
You must be signed in to change notification settings - Fork 31
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
If ng-disabled is true. Input field is disabled but buttons are not #73
Comments
Can you check it works? with version 1.19.4 |
Hi hexadecy and thanks for looking at this so quickly. It works if you pass in "true" or "false" as a string value for ngDisabled but if you pass in an expression which resolves to true or false it doesn't work. My own use case is that I want to dynamically enable/disable the date time picker depending on whether or not an event is being scheduled so for me this solution is incomplete. I played with it a bit as follows:
This fixes the evaluation issue but unlike the inputfield, the buttons aren't updated if the expression value changes. |
Sorry, I have no idea right now how to make it dynamic. |
Stalled issue |
Pretty much as the title suggests. For a picker with the calendarWidget enabled, only the input field is disabled. The open widget and clear buttons are not disabled
The text was updated successfully, but these errors were encountered: