ADF - "Reset all" button (search form/component) does not clear fields

Description

Summary
The reset button:
...
"aca:triggeredOnChange": false,
"resetButton": true,
"filterQueries": [
...

Does not clear the fields in the panel. The documentation is at:https://www.alfresco.com/abn/adf/docs/content-services/components/search-filter.component/

Steps to Reproduce

1 Download alfresco-digital-workspace-adw-2.0.0.zip

2 Unzip in tomcat/webapps
3 Change app.config.json to point to your ACS

4 Login http://host:port/alfresco-digital-workspace-adw-2.0.0
5 Search for a term using the search bar

6 Expand the Size node in the Filters panel and tick the Small checkbox

7 Expand the Created date nod and enter a date
8 Click Reset all

Expected Behaviour
The Size checkbox and the Date field are clear

Actual Behaviour
The Size checkbox and the Date field are not clear and contain the values set previously

 

Alternative steps

1 Download the zip attached
2 Unzip in tomcat/webapps
3 Change app.config.json to point to your ACS
4 Login http://host:port/viewer
5 Click on the magnifying glass on the top right
6 Expand the File Name node and search for an existing filename
7 Click Reset all

Expected Behaviour
The filename field is empty

Actual Behaviour
The filename field still has the search term

See the screenshot

Environment

None

Testcase ID

None

Activity

Show:
Eugenio Romano
March 30, 2021, 1:32 PM


 

There are two issue in the community related similar problem

Assignee

Vito Albano

Reporter

Marco Tonelli

Labels

None

Escalated By

None

Security Issue

None

ACT Numbers

00347557

Premier Customer

None

Code Branch

None

Build Location

None

Regression Since

None

Work Funnel End

None

Patch Attached

None

Dependent Version/s

None

Cloud or Enterprise

None

Prioritization Score

None

Delivery Team

Team 1

Bug Priority

Category 3

Components

Sprint

Fix versions

Affects versions