I used daterangepicker for my application.
- Below code works fine as expected.on load it picks today date and displays. But, i need to show only 'placeholder' value. Not date.
- When i use autoUpdateInput : false, it shows 'placeholder' value onload. But, after dates are picked, selected date values are not getting inserted.
- Is it possible to do autoUpdateInput: false and autoApply: true make work as expected for my application?
Thanks
JS:
$('input[name="Two way"]').daterangepicker({
"autoApply": true,
"minDate": today,
"locale": {
format: 'DD MMM YYYY'
}
});
You can use
function(start,end) {}
for this.Look at this: