Open faststare08 opened 5 years ago
I second this. Great library, but eventually I had to find alternatives due to its missing alpha-numeric filter option. Our use case can allow only a subset of letters (no capital O or I since they can easily be confused).
Having this option would be really helpful.
Here is a quick fix that i put in my script, it's reactive to the input, so not as clean as when you use numericOnly, but it does the trick.
$('#id').on('keyup', function () {
var input = $(this).val();
var regex = input.replace(/[^\w]/g, "");
$(this).val(regex);
})
To reproduce the error or describe your requirement with a jsfiddle url would be appreciated:
If it's mobile related, please specify your device and environment.