How can i prevent alphabet get into input telephone using boostrap 4

<h5>Tel  <input class="form-control" type="tel" value="" id="example-tel-input"></h5>
<input type="tel" pattern="^[0-9\-\+\s\(\)]*$" placeholder="Telephone Number" required>

Found it here https://martinwolf.org/blog/2015/04/html5-telephone-input-validation

1 Like