我有以下 HTML:
<input type="text" id="received-date" name="received-date" required="required" class="date-picker form-control col-md-7 col-xs-12">
和
$('.date-picker').daterangepicker({
singleDatePicker: true,
locale: {
format: 'DD/MM/YYYY'
},
});
当我最初加载页面时,输入字段填充了今天的日期。我该如何防止这种情况发生?