Skip to Content

sap.m.DateTimeInput clock icon removal?

Jan 12, 2017 at 01:29 PM


avatar image

Hi guys!

After SAPUI5 library upgrade from 1.28 to 1.38 the control sap.m.DateTimeInput now has a clock icon. This messes up the layout of one custom app. The cell has time input and even after the time selection the clock icon stays there overlapping the value:

Is there a way to hide this clock icon completely (or after selecting the value)? I tried some CSS fixes in Chrome debugger but that resulted in either hiding ALL the icons on the screen or losing the mouse hotspot in the field which brings up the time selection dialog.

The app is hosted on an on-premise Gateway server. Perhaps we could run this particular app using the older UI library version if nothing else helps...

Thanks for tips!
Ossi M

clock-icon2.png (3.0 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Ossi Makinen Jan 20, 2017 at 02:50 PM

Wow, total of 3 views! :)

I solved this issue by setting the older 1.28 sapui5 library in index.html for the app in question. The app works like before.

- Ossi

10 |10000 characters needed characters left characters exceeded