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
Testcase ID
Activity
Â
There are two issue in the community related similar problem