Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Issue related to the behavior change for DateTimeItem Picker.

    Hi,

    We notice a behavior change for the date-time picker of DateTimeItem. Previously when we click a date in the picker, the date is chosen and the picker is closed. However, currently clicking a date won't close the picker and we need to click the "Apply" button to close the picker.

    It works fine on SmartClient_v91p_2014-09-16_PowerEdition but changes on SmartClient_v91p_2014-11-25_PowerEdition

    This behavior change fails many test cases in our product. Is there any property/way to get back to the previous behavior?

    This issue can be reproduced on any DateTimeItem:
    1. Click icon to show the picker.
    2. Click a date in the picker.
    In previous build, the date get selected and the picker closes. But now, it doesn't close after clicking a date.

    Thanks!
    Robin

    #2
    This was actually a big-fix, since it has always been intended that the Apply button be enforced when the TimeItem is visible (when editing a datetime, rather than a date).

    However, we've added a new attribute, DateChooser.closeOnDateClick, to builds dated November 30 and later. You can set that to true globally, with isc.DateChooser.addProperties(), to get the old behavior.

    Comment


      #3
      Thanks for quick solution!

      Comment

      Working...
      X