Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-860

GoAndClearFilter doesn't reset filter form fields

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.3
    • Component/s: wicket-extensions
    • Labels:
      None

      Description

      This problem is happening in GoAndClearFilter and FilterForm which are in wicket-extensions, but I'm testing the problem with wicket-phonebook which uses these classes.

      When running wicket-phonebook with filters set, clearing the filters makes the list go back to the default, but the filter form controls are not reset to the default. Thus, to clear the filters and then refilter on different criteria, the user must manually delete the contents of the text fields and change the drop downs to blank.

      Examining the code in GoAndClearFilter shows that originalState is being kept, which is used for refreshing the table. But I'm unclear on how to reset form filter values.

        Attachments

          Activity

            People

            • Assignee:
              ivaynberg Igor Vaynberg
              Reporter:
              tauren Tauren Mills
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: