How to add tool tip for a widget button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2022 10:25 PM
Hey everyone, i need a help
on my widget there is modal window and a submit button also (attaching screenshot)
Now, if someone tries to click submit without filling some text in additional comments, there i want tootip like "Comments are Mandatory".
i'm sharing my html please help me out with this ASAP
<div class="modal-header" style="background-color: #232222;font-size:24px;">
<label for="exampleFormControlInput1" class="form-label" style="font-color:white" >Additional Comments</label>
<button ng-click="closeModal()" class="close">
<i class="las la-times"></i>
</button>
</div>
<div>
<div class="modal-body">
<div class="form-group full-width" >
<label for="exampleFormControlTextarea1" class="form-label" style="background-color: #ffffff" ><h4>* Please provide additional comments for cancelling the approval request</h4></label>
<div class="mb-3">
<textarea class="form-control c.commentvalue" ng-model="c.commentvalue" field = "c.commentvalue" display-field="'c.commentvalue'" id="exampleFormControlTextarea1" rows="3"></textarea>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-danger pull-left"
ng-click="c.closeModal()">
Cancel
</button>
<button class="btn btn-primary pull-left"
ng-click="c.onSubmitcomment(c.commentvalue)"
ng-disabled="!c.commentvalue">
Submit
</button>
</div>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2022 10:26 PM
Also what i have to write in client script for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2022 12:51 AM
Hey, is this question even visible to anyone
I posted earlier they also don't got any replies