Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

389
Views
AngularJS + ui-mask: How to show error on invalid key press

I use AngularJS UI-Mask (1.8.7) and show warning about field validation like this:

<div ng-message="mask">Warning</div>

This box is shown when user entered less symbols then needed, and blur event happened (controller.$setValidity('mask', isValid) in mask.js).

I need to show some warning right when user press an invalid key — this is an additional hint to notice that an invalid character is being entered into the field. There is no such option in UI-Mask. How I can do it?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!