K
K
ksmolniy2017-10-03 16:03:23
Angular
ksmolniy, 2017-10-03 16:03:23

How to make AngularJS md-datepicker not set current date only in firefox & IE?

How to make AngularJS md-datepicker not set current date only in firefox & IE? in google chrome the datepicker is empty, in chanterelle and they are filled, while the model is empty.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
ksmolniy, 2017-10-04
@ksmolniy

the bug was in assigning a date through moment, we all disagree

I
Ilya, 2017-10-03
@ilyapashkov02

use to detect the browser https://github.com/lancedikson/bowser
and, based on the condition, do what you need

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question