SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.54k stars 265 forks source link

Date Range Picker by Weeks #5688

Open EduardTrutsyk opened 2 years ago

EduardTrutsyk commented 2 years ago

Is your feature request related to a problem? Please describe. An ability to select weeks via DateRangePicker.

Describe the solution you'd like See the video below:

https://user-images.githubusercontent.com/5457280/185432568-a78cc375-60bc-4498-9039-283894efc6bc.mov

Lukas742 commented 2 years ago

Thanks for reporting! I'll forward this issue to our UI5 Web Components Colleagues as the affected component is developed in their repository.

unazko commented 2 years ago

Hello @SAP/ui5-webcomponents-topic-b ,

Take a look of this feature request. We already support week selection in openui5 date range picker control analog.

Best Regards, Boyan

DMihaylova commented 3 weeks ago

Hi @EduardTrutsyk,

For selecting several weeks, as shown in the attached video, you could use selection-mode "Range". You'll then have to select the start and end date of an interval. sample

For cases with a single week selection there could be even a simpler way to do it where a click over the week number selects the whole week? You could test it in UI5's sap.ui.unified.Calendar. Would you like to have it also in ui5-calendar?

Thanks & Regards, Diana