Skip to Content
-1
Oct 18, 2019 at 08:54 AM

SAPUI5: DatePicker choosen Date, disabled the Display of the Date in the InputField

172 Views

Hello,

As the Title states. The Datepicker does consist of two Elements: the Input Field and the Picking of Date(look at the Image below)

you can set the Date that you would want manually, by directly accesing the Id of the DatePicker with .setDateValue() and it will be automatically displayed in the Input Field.

Now i want to .set the Date that i want but for it to not be displayed within the Input field.

The Thing that I found was .setVisible(false) - however this just makes the whole Field disappear. What i want is simply to disable the display of the choosen Date. How can i make it happen?

Attachments

datepicker.png (2.3 kB)