- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2021 10:59 PM
Hi,
I want to set tooltip on a field value like when I hover on the field then the entire value inside the field should be displayed outside in the hover .How can I achieve this in the service portal
Thanks,
Phani
Solved! Go to Solution.
- Labels:
-
Service Portal Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2021 07:29 AM
Hi
You have to use the combination of ng-model and tool tip ,modify the widget like below
HTML
<div>
<br>
<br>
<input type="text" ng-model="greeting" data-toggle="tooltip" data-placement="right" title="{{greeting}}"/>
</div>
Client Script
api.controller=function($scope) {
/* widget controller */
var c = this;
$scope.toolTip2=$scope.greeting;
};
Regards
Pranav

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2021 07:29 AM
Hi
You have to use the combination of ng-model and tool tip ,modify the widget like below
HTML
<div>
<br>
<br>
<input type="text" ng-model="greeting" data-toggle="tooltip" data-placement="right" title="{{greeting}}"/>
</div>
Client Script
api.controller=function($scope) {
/* widget controller */
var c = this;
$scope.toolTip2=$scope.greeting;
};
Regards
Pranav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2021 04:26 AM
Hi ,
Thanks for the reply,I have tried this and it worked for my requirement .
Can we adjust the size of the tooltip that is displaying?
Thanks,
Phani

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2021 08:21 AM
Basically it will auto adjust based the text.
Regards
Pranav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2021 02:07 AM
ok ,Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2021 09:04 PM
Hi,
You can use uib-tooltip in your HTML.
https://angular-ui.github.io/bootstrap/
<a href="#" uib-tooltip="{{dynamicTooltip}}">{{dynamicTooltipText}}</a>