JavaScript After updating ui-bootstrap version, datepicker validation got break

I updated the ui-bootstrap version from 0.13.0 to 0.13.4, It broke the validation on datepicker field.

Plunkr with a problem

Previously I was using 0.13.0 and it was working fine.

Basically when I tried to populate datepicker value from database, which returned by server as 2015-10-15T04:00:00, it gets bound correct to datepicker, but additionally it is adding ng-invalid-date to datepicker-popup element. Because of this ng-invalid on input field datepicker element shown with red border.

Further digging into it, I found that there were some changes made while releasing 0.13.2 related to dateParser which removes the creation of new Date when its invalid.

Github Issue link

Any workaround would appreciate.

Answer:1

I have some blocker. How can i select character and sort this inside a tag like <p>-tag in jQuery OR Vanilla JS? function alphabet(str){ var x = str.split(" "); return x.sort()....

I have some blocker. How can i select character and sort this inside a tag like <p>-tag in jQuery OR Vanilla JS? function alphabet(str){ var x = str.split(" "); return x.sort()....

I am trying to apply and remove a filter to my active object. My code will apply the filter but will not remove it: $scope.contrastFilter = function () { var obj = canvas.getActiveObject(); ...

I am trying to apply and remove a filter to my active object. My code will apply the filter but will not remove it: $scope.contrastFilter = function () { var obj = canvas.getActiveObject(); ...

I have 2 contenteditable div, i want it that if div (div A) height become greater than 100px move exceed text to another div (div B). I am learning (for example, here div height is greater than 100px,...

I have 2 contenteditable div, i want it that if div (div A) height become greater than 100px move exceed text to another div (div B). I am learning (for example, here div height is greater than 100px,...

  1. fundal height greater than gestational age
  2. div height greater than content
  3. css height greater than 100
  4. row height greater than 409
  5. height is greater than length
  6. fundal height greater than expected
  7. autolayout height greater than
  8. media query height greater than width
  9. css child height greater than parent
  10. excel row height greater than 409
  11. css media height greater than width
  12. if div height greater than scroll
  13. if div height greater than css
  14. if div height greater than
  15. height 100 is greater than parent
  16. height must be greater than 0px
  17. css selector height greater than
  18. css media height greater than
  19. if height is greater than jquery
  20. the height is greater than

I have an angular charComponent that creates pie, and line and other graphs which I want to embed in various places in my app. I use the selector: <chart></chart> To expose a chart. ...

I have an angular charComponent that creates pie, and line and other graphs which I want to embed in various places in my app. I use the selector: <chart></chart> To expose a chart. ...

  1. pass variable angular
  2. angularjs pass variable
  3. pass angular variable to javascript function
  4. pass angular variable to jquery
  5. pass angular variable to html
  6. pass angular variable to onclick function
  7. pass angular variable to php
  8. pass angular variable to javascript
  9. pass angular variable to php function
  10. pass variable to angular component
  11. pass variable component angular 6
  12. pass variable to angular directive
  13. pass variable to angular template
  14. pass variable component angular 2
  15. pass variable to angular controller
  16. pass variable in angular 2 template
  17. pass variable to angular module
  18. pass variable into angular directive
  19. pass variables between components angular
  20. pass variables between components angular 2