Closed harsh-vardhhan closed 9 years ago
Are you able to assign a single date to a dateRangePicker outside of an observable?
only using preset ranges but not by just using ranges{start:somedate,end:somedate}
You can't use setDate, because such a method is not implemented. You can use setRange though. Take a look at the docs to see how to use it (Programmatic Control section).
what am I doing wrong here?
See this: http://jsfiddle.net/bo7msbnq/1/
thanks a million for such great support
http://stackoverflow.com/questions/31288770/knockout-databind-with-jqueryui-based-daterangepicker/31318131#31318131 This is the way to write custom knockoutjs binder for dateRangePicker, in case it helps some one in the future
Not able to make dateRangePicker read an observable in knockout. I am trying to assign a single date to dateRangePicker http://jsfiddle.net/harsh611/jtj7kemj/12/