Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-1569

Enable clear button on nuxeo-date-picker

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.x, 3.0.20
    • Component/s: Widgets
    • Release Notes Summary:
      The `nuxeo-date-picker` element now shows again a button that allows a user to reset the date with a single click.
    • Backlog priority:
      500
    • Upgrade notes:
      Hide

      The `nuxeo-date-picker` element now shows again a button that allows a user to reset the date with a single click. This brings back a missing feature for users coming from LTS 2019 where this button was present.

      Since this is considered an experience improvement, this behavior is enabled by default. The button can be hidden by setting the property `hideClearDateButton` to true on the element.

      Show
      The `nuxeo-date-picker` element now shows again a button that allows a user to reset the date with a single click. This brings back a missing feature for users coming from LTS 2019 where this button was present. Since this is considered an experience improvement, this behavior is enabled by default. The button can be hidden by setting the property `hideClearDateButton` to true on the element.
    • Sprint:
      UI - 2023-2, UI COOLDOWN - 2023-01

      Description

      As of LTS 2021, nuxeo-date-picker elements no longer display the clear ("X") button used to clear a selected date from the widget.

      Steps to Reproduce:

      1. In Web UI, navigate to a layout that has a nuxeo-date-picker element - for example, nuxeo-audit under Administration.
      2. Select a date using the nuxeo-date-picker element

      Expected result: nuxeo-date-picker displays an "X" button to the right of the date that can be clicked to clear the value.

      Actual result: the "X" button is not displayed; the user is unable to clear the selected date without refreshing the browser.

        Attachments

        1. lts-2019.png
          24 kB
          Bertrand Chauvin
        2. lts-2021.png
          27 kB
          Bertrand Chauvin

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: