These are chat archives for indrimuska/angular-moment-picker

29th
Sep 2017
Surendra
@chaluvadis
Sep 29 2017 16:59
hello
Surendra
@chaluvadis
Sep 29 2017 17:19
i need small help to disable time selection in date picker dynamically
Surendra
@chaluvadis
Sep 29 2017 17:29
I have a check box, when even selects that box allow the user to select both date and time, if user not selected the checkbox allow the user to select only date.
I tried changing the scope dynamically, but no luck
Kevin Strasters
@WrathoPlays_twitter
Sep 29 2017 18:42

I am trying to think of a clever way to do this. I tried changing the format on the dom but that doesn't appear to bind correctly. Something u can try for now is setting up 2 different pickers both with the same everything except the format is the ones you want. and then show/hide based off the check box being shown or not

i will update if i find something cooler

Surendra
@chaluvadis
Sep 29 2017 19:07
currently i am following the same approach
@WrathoPlays_twitter Thanks