I am currently developing an application using Materialize that includes two datepickers:
$(document).ready(function(){
$('#outDate').datepicker({
format: 'dd-mm-yyyy'
});
});
$(document).ready(function(){
$('#returnDate').datepicker({
format: 'dd-mm-yyyy',
});
});
My current challenge is passing the selected date from datepicker 1 ('#outDate') to datepicker 2 ('#returnDate'). I have consulted the Materialize documentation, but so far I have not been successful in achieving this. Can anyone provide assistance?
In addition, I am utilizing both Javascript and AngularJS.
Thank you in advance for any help!