xxxxxxxxxx
1
<div class="form-outline" data-mdb-datepicker-init data-mdb-input-init>
2
<input type="text" class="form-control" id="exampleDatepicker11" data-mdb-input-mask-init
3
data-mdb-input-mask="99/99/9999"/>
4
<label for="exampleDatepicker11" class="form-label">Select a date</label>
5
</div>
1
1
xxxxxxxxxx
1
const input = document.getElementById('exampleDatepicker11')
2
input.parentNode.addEventListener('valueChanged.mdb.datepicker', (e) => {
3
input.dispatchEvent(new Event('input'));
4
})
Console errors: 0