- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2024 11:18 AM
I have two sp-date-picker fields on form - Start Date and End Date, both of which show the standard Show Calendar for {0} tooltip on hover. When I try to use JQuery as suggested in one of the community posts, it updates both the fields' tooltips. I'd like different tooltips on each of these fields. Is there a way to differentiate between start date button from the end date button?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2024 05:46 PM
Hi @Harshini4 : Why don't you use field parameter with label object in sp-date-picker ? This way what ever text you will define under label object that will appear with "Show Calendar for <Label object Value>"
Something like this you can try .
<sp-date-picker name="mydata" field="{label: 'First Date'}" ng-model="c.fromDate.value" ></sp-date-picker>
<sp-date-picker name="mydata1" field="{label: 'Second Date'}" ng-model="c.fromDate1.value" ></sp-date-picker>
Hope it will help you.
Thanks,
Harsh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2024 05:46 PM
Hi @Harshini4 : Why don't you use field parameter with label object in sp-date-picker ? This way what ever text you will define under label object that will appear with "Show Calendar for <Label object Value>"
Something like this you can try .
<sp-date-picker name="mydata" field="{label: 'First Date'}" ng-model="c.fromDate.value" ></sp-date-picker>
<sp-date-picker name="mydata1" field="{label: 'Second Date'}" ng-model="c.fromDate1.value" ></sp-date-picker>
Hope it will help you.
Thanks,
Harsh