question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add "Today" button to sap.m.DatePicker

See original GitHub issue

OpenUI5 version: 1.68

Following the Add “Today” button to sap.m.DatePicker in UI5 and How to show Today button on sap.m.DatePicker in UI5 questions, it would be great to have an ability to show “Today” button in sap.m.DatePicker.

Please, see screenshots: 03_231730 03_231448

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
pubmikebcommented, Oct 5, 2021

Starting 1.95.0, OpenUI5 has a new property showCurrentDateButton.

sap.m.DatePicker, sap.m.DateRangeSelection, sap.m.DateTimePicker, and sap.ui.unified.Calendar

These controls now have the new property showCurrentDateButton, which displays an additional button in the navigation part of the calendar. When pressed, the control navigates to the current date and focuses on it. This feature is available for pickers whose display format allows picking a day.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to show Today button on sap.m.DatePicker in UI5
UI5 has a date picker controller sap.m.DatePicker, the problem is that this controller by default has no Today button, ...
Read more >
How to show Today button on sap.m.DatePicker in Neptune ...
It's possible to by simply adding a sap.m.Button, with a couple of lines of code in the press event: This gets the current...
Read more >
Date picker with Today button - sapui5 - Stack Overflow
I have a user input with sap.m.DatePicker . Is there a way to add a button to that calendar to select 'Today date'?...
Read more >
Date Picker - Samples - Demo Kit - SAPUI5 SDK
DatePicker showing usage of isValidValue function. ... Enter value and press the button to check if it's valid. Check value.
Read more >
Add "Today" Button To Sap.M.Datepicker In Ui5 - ADocLib
Laszlo Kajan is a full stack Fiori/SAPUI5 expert present on the SAPUI5 field Styles Clicking the date picker button opens the popover in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found