Date Picker in Service Portal

brian_
Tera Guru

I've found how to create your own reference field in Service Portal with <sn-record-picker>

<sn-record-picker field="location" table="'cmn_location'" display-field="'name'" value-field="'sys_id'" search-fields="'name'" page-size="100" ></sn-record-picker>

http://serviceportal.io/sn-record-picker/

How do I make my own Date Picker field?

date.PNG

8 REPLIES 8

Thanks Parvinder,


Yeah thats true. I want to know that there is a dependency on User TimeZone also.


Am I right?


No there no no dependency on User Timezone, its only depend on date format.



Hope this will help you to configure.



Regards,


Parvinder


scottl
Kilo Sage

Any luck here?   I've found this to work however I'm not sure how to set any default parameters like min and max date for the datepicker?



<sp-date-picker ng-model="your.model.value" sn-change=""></sp-date-picker>


Hi Scott,



you may wish to take a look at the angular directives