This repository has been archived by the owner on May 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Is there a way to disable one-time binding for day labels? #4692
Labels
Milestone
Comments
I would recommend modifying the template for now - this is a valid feature request for adding support for i18n updating of the view, so I am tagging this with the fresh i18n label. |
Closed
Can someone please explain what modification needs to be done in the template to translate datepicker? |
@SandeepThomas , just delete one time bindings ('::') for day labels. Also you need to reload datepicker when locale changed if you use angular-translate lib. |
icfantv
referenced
this issue
Dec 16, 2015
Reducing the number of watches created for the datepicker by implementing one time binding on the datepicker templates. Removing aria-disabled attribute as the ngAria module will add that to the button with ng-disabled. Closes #3443
Closing this in favor of #4626, I have figured out a solution to this issue that will be implemented as detailed there. |
Possible workaround: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I tried to dynamicaly change locale in datepicker following this approach:
But I found that this is not working because of one-time binding for day labels. So is there a way to disable one-time binding without the need of modifying template? I use 0.13.2 version.
The text was updated successfully, but these errors were encountered: