Reset filter and sort settings when datasource changes

This commit is contained in:
Andrew Kingston 2025-04-01 11:04:23 +01:00
parent da5b6acdc1
commit 3896a60428
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

View File

@ -8138,6 +8138,7 @@
"type": "filter", "type": "filter",
"label": "Filtering", "label": "Filtering",
"key": "filter", "key": "filter",
"resetOn": "datasource",
"dependsOn": { "dependsOn": {
"setting": "datasource.type", "setting": "datasource.type",
"value": "custom", "value": "custom",
@ -8149,6 +8150,7 @@
"label": "Sort column", "label": "Sort column",
"key": "sortColumn", "key": "sortColumn",
"placeholder": "Default", "placeholder": "Default",
"resetOn": "datasource",
"dependsOn": { "dependsOn": {
"setting": "datasource.type", "setting": "datasource.type",
"value": "custom", "value": "custom",
@ -8159,6 +8161,7 @@
"type": "select", "type": "select",
"label": "Sort order", "label": "Sort order",
"key": "sortOrder", "key": "sortOrder",
"resetOn": "datasource",
"options": ["Ascending", "Descending"], "options": ["Ascending", "Descending"],
"defaultValue": "Ascending", "defaultValue": "Ascending",
"dependsOn": "sortColumn" "dependsOn": "sortColumn"