angular-moment-picker icon indicating copy to clipboard operation
angular-moment-picker copied to clipboard

Async selectable

Open hefler opened this issue 7 years ago • 2 comments

When using selectable there's no way to "force" updating the calendar view.

This can be useful, in some cases, for instance: loading a list of available hours from a server/API. If moment-picker html is rendered prior to the response it doesn't updated "selectables" when it opens, only if you change dates.

hefler avatar Jun 14 '17 16:06 hefler

Experiencing the same problem.

jaycen avatar Aug 14 '17 17:08 jaycen

Put an ng-if on the picker for boolean when loaded. Seemed to work on rendering post-data arrival. Would be great if the provider had a reRender function on it.

toxaq avatar Feb 07 '18 11:02 toxaq