In my constructor I have a variable called testDate and I have initialized that as
private testDate: Date = new Date();
Now when I bind my input and give the property of date-format ="MM/DD/YYYY", it works perfectly fine. But, if I give a timeout and then do the same thing, the date format doesnt change.
Current behavior
In my constructor I have a variable called testDate and I have initialized that as
private testDate: Date = new Date();
Now when I bind my input and give the property of date-format ="MM/DD/YYYY", it works perfectly fine. But, if I give a timeout and then do the same thing, the date format doesnt change. Current behaviorExpected/desired behavior
Other information