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

Fix auto-search when changing the select in nuxeo-date-picker

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.10
    • Fix Version/s: 2.4.59, 3.0.10
    • Component/s: UI
    • Release Notes Summary:
      Changing the value in the nuxeo-date-picker element triggers the update of the results.
    • Backlog priority:
      700
    • Sprint:
      UI - 2021-14, UI - 2022-01, UI - 2022-02, UI Cooldown - 2021-14, UI Cooldown - 2022-01

      Description

      Steps to reproduce:

      1. define a page provider with a "date" field
                <predicate parameter="dc:created" operator="&gt;=">
                  <field schema="advanced_search" name="dublincore_created"/>
                </predicate>
        
      2. define a search for with a nuxeo-date-picker element
            <nuxeo-date-picker value="{{params.dublincore_created}}" label="Created from" name="dublincore_created" role="widget"></nuxeo-date-picker>
        
      3. deploy the Studio package with these changes
      4. Go to the Search form
      5. select a date with the nuxeo-date-picker element "Created from"
      6. observe the results are refreshed
      7. change the selected date in the field "Created from"
      8. observe that nothing happens

      Expected behavior:
      changing the value in the nuxeo-date-picker element should trigger the update of the results

      Workaround:
      Remove the value and then select a new one => the results are updated

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 15 minutes
                1d 15m