xxxxxxxxxx
1
<div class="form-outline myTimepicker">
2
<input type="text" class="form-control" id="form11" />
3
<label class="form-label" for="form11">Select a time</label>
4
</div>
1
1
xxxxxxxxxx
1
const timepickerEl = document.querySelector('.myTimepicker')
2
3
const instance = new mdb.Timepicker(timepickerEl)
Console errors: 0