Home Display tooltip/message while input is invalid HTML/JS/CSS/Angularjs
Reply: 0

Display tooltip/message while input is invalid HTML/JS/CSS/Angularjs

user673
1#
user673 Published in June 19, 2018, 2:27 pm

I have an HTML input field where certain characters shouldn't be allowed. The functional part is solved, but I would like to display a tooltip/message next to the input field while it contains illegal characters.

I have a boolean which keeps track of this, but I've been unable to make a satisfactory tooltip/message.

I've tried tweaking uib-tooltip, but It requires the user to hover over the input area. I've tried making a span/div/label that's hidden/displayed based on the boolean, but my CSS skills aren't strong enough.

The app uses Angularjs and Bootstrap 3.

The input field is not part of a form.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.328297 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO