Click here to Skip to main content
12,705,109 members (26,833 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: HTML5 AngularJs ToolTip
I want to show error or validation message in tooltip usng angularjs but problem is that i can show only one message eigther required validation or any other. i want message according to validation

What I have tried:

tooltip="{{(profileForm.address.$invalid) ? 'Address is required' : '' (profileForm.address.$error.min) ? 'max length' : ''}}"

tooltip-tr tooltip-trigger="mouseenter"
tooltip-placement="below"
tooltip-enable="{{profileForm.address.$invalid}}" />
Posted 1hr ago

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.170118.1 | Last Updated 26 Jan 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100