on 06-20-2019 9:01 AM
UI5 has a date picker controller sap.m.DatePicker, the problem is that this controller by default has no Today button, which will automatically select today's date.
Is there any way to add Today-button to sap.m.DatePicker?
As of 1.95.0, there is no need to invent a wheel, there is a standard property called showCurrentDateButton.
Sample, please, have a look on the "DatePicker with non-working days - 05.11.2015 - 25.11.2015 and with shortcut for today" case.
For those, who is below the 1.95.0, the Konchada's answer is a great solution!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.