Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10482

Re: sap.m.DateTimeInput does not allow keyboard manual date entry

$
0
0

Hello Marc,

 

I tried this. And I believe this will help you as well.

new sap.m.DatePicker("date3",{

  width: "15em",

  value: {

  path: "/dateValue",

  type: new sap.ui.model.type.Date({style: "long", pattern: "dd-MM-yyyy"})

  }

  });

 

where:

var oModel = new sap.ui.model.json.JSONModel();

  oModel.setData({

  dateValue: new Date(1330470000000)

  });

  sap.ui.getCore().setModel(oModel);

 

Hope this helps.

 

Best Regards,

Sunita


Viewing all articles
Browse latest Browse all 10482

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>