Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2024 03:02 AM
Please do not use DOM manipulation as this is not best, or even good practice.
You can find the angular module here: <yourinstance>.service-now.com/scripts/app.$sp/directive.spDatePicker.js
Here you can see, the {0} is replaced by scope.field.label
In your HTML of sp-date-picker, you have a property called field (usually an angular object, the example its c.fromDate). If you give the c.fromDate object the label property, you can control whats entered in {0}