Date can only be set once using setDate method, when tried to set it again using the same method, it doesn't work, when checked in source code, it enters into if (this.$element.val().length > 0) part where it just re-sets the value to element's current value itself.
Solution:
Emptying the element value before executing the initDates()
Issue:
Date can only be set once using
setDate
method, when tried to set it again using the same method, it doesn't work, when checked in source code, it enters intoif (this.$element.val().length > 0)
part where it just re-sets the value to element's current value itself.Solution:
Emptying the element value before executing the
initDates()