-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Add support of ng-disabled to timepicker #2219
Comments
Hey You can use readonly-input="true" for time picker. It will disable timepicker. |
Hi! I know but will be better to support angular standard directives for use it as other usual angular input. |
It's now implemented on PR #2562 |
readonly-input="true" only stops to type inside, but let it be changed on up and down. |
You can set hour-step and minute-step to zero. It works. |
Yes it worked! Thanks |
So, we need to set three things to correctly disable the input? |
Yes. If you set readonly-input="true", hour-step and minute-step to zero it will work. |
While this is a feature that definitely should be implemented, there is a workaround - you can wrap the timepicker in a |
Having to modify multiple attributes to disable the directive is not ideal, it would be much more preferable to have a single attribute that disables all aspects of this directive from user input. |
Meridian is still editable after disabling everything. |
|
PR seems to have closed with a rollback |
Careful of the fieldset, it doesn't work in IE... |
In our directive we can watch the ngDisabled value and disable the datepicker |
Hi!
Timepicker is great!
But will be very cool if timepicker will have support of ng-disabled directive.
Thanks!
The text was updated successfully, but these errors were encountered: