I have an input defined as follows:
<input type="text" name="fecha" id="datepicker" pattern="[_0-9]{2}/[_0-9]{2}/[_0-9]{4}" class="form-control" required>
With the following script on the same page
<script>
$('#datepicker').datepicker({
format: "dd/mm/yyyy",
language: "es",
autoclose: true,
startView: 2,
endDate: "+Infinity"
});
</script>
What I need is that you can not use the keyboard to enter the date, but simply choose it from the datepicker. The disable switch off the component directly.
Thanks