openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

sap.m.Datepicker.setMinDate() has issue in the first available date.

Open TinaC opened this issue 9 years ago • 2 comments

OpenUI5 version: 1.44

Browser/version (+device/version): Chrome 58.0.3029.110 (64-bit)

URL (minimal example if possible): https://jsfiddle.net/tinachen/52ax0hLb/3/

Steps to reproduce the problem:

  1. Open date picker
  2. Click the first available date, for example, today is May 11th, then click May 8th.

What is the expected result?

  1. May 8th shows in the input box
  2. Correct date captured by change event

What happens instead?

  1. No date in the input box
  2. Change event get the last clicked date

https://openui5.hana.ondemand.com/#docs/api/symbols/sap.m.DatePicker.html#setMinDate

TinaC avatar May 11 '17 07:05 TinaC

Hello @TinaC ,

Thank you for sharing this finding. I've created a internal incident 1770249570. I also fixed a little issue in your example so the problem can be reproduced: https://jsfiddle.net/52ax0hLb/4/

Regards, Alexander

JumpNRun avatar May 11 '17 08:05 JumpNRun

Hi @TinaC ,

This issue duplicates https://github.com/SAP/openui5/issues/1461 and it is already fixed.

Cheers!

testojs avatar Jun 12 '17 05:06 testojs