cancel
Showing results for 
Search instead for 
Did you mean: 

UI5 Datepicker tooltip

cmuriyadan
Explorer
0 Kudos

Hello,

I am using UI5 datepicker using the following syntax:

<DatePicker value="{/StartDate}" tooltip="{/StartDate}" valueFormat="yyyyMMdd" displayFormat="MM/dd/yyyy" editable="{= !${/editButtonVisible}}"/>

Here if the StartDate field is 20170101, then the field value shows correctly as 01/01/2017, however the tooltip still shows as 20170101.

Is there any way to fix the tooltip?

Thanks,

Charles

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member365727
Active Contributor
0 Kudos

use formatter for the tooltip

cmuriyadan
Explorer
0 Kudos

Is there no other way to format directly on the XML?