Hi All,
One of my requirement is to show the DateTime in the webpage and also the user should able to enter/edit the time in the textbox.
As I am using the below code
var mData = { someDate: new Date() };
new sap.m.DateTimeInput({
type: sap.m.DateTimeInputType.DateTime,
change: function() {
alert("New date in model is " + mData.someDate)
}
})
.setModel(new sap.ui.model.json.JSONModel(mData))
.bindProperty("dateValue", "/someDate")
.placeAt("content");
When ever I click the textbox I am able to get the datetimepicker but I am not able to edit the textbox.
Is there any solution for the above. Please let me know?
Regards
G.Partheeban