Skip to Content

SAPUI5 Datepicker not working properly at Sap CP

Hi experts,

When we use the datepicker control in a mobile device we have the problem that the year or month are unselectable when we try to change directly to other year o month. It is a sapui5 app in Sap Cloud platform deployed to a Portal Service ( Fiori Launchpad ).

The control doesnt work properly either in desktops.

When we try the same app locally it works just fine.

Is there a extra config for the app to wokr properly in SAP CP. ?

The code for the datepicker is as follows.

<DatePicker id="dateDesde" valueFormat="yyyyMMdd" displayFormat="dd/MM/yyyy" placeholder="Ingrese la Fecha de inicio" change="handleChange"/>

thanks in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Dec 15, 2017 at 03:00 AM

    Hello Carlos. Could you check whether the UI5 library in the cloud is consistent with your local environment, please?

    <script id="sap-ui-bootstrap" src="">
    Add comment
    10|10000 characters needed characters exceeded

  • Dec 22, 2017 at 01:37 PM

    Hi Carlos,

    Which DatePicker are you using? The one from sap.m, sap.ui.commons or

    Please check the samples for the correct usage of DatePicker as it works on both desktops and mobile browsers.

    If you download one of the samples for DatePicker and it still doens't work, perhaps it is an issue related to cache. Please check the console logs (CTRL+SHIFT+I) of your browser to understand what error the browser is facing. Also check the browser compatibility for SAPUI5 - perhaps you are using an old browser that is not supported.


    Add comment
    10|10000 characters needed characters exceeded