From 837e70c9a8e130e3d28b5ba35b6435deb61fd417 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 24 Nov 2021 08:20:23 +0000 Subject: [PATCH] Remove text setting from dynamic filter component --- packages/client/manifest.json | 6 ------ .../src/components/app/dynamic-filter/DynamicFilter.svelte | 6 ++---- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/packages/client/manifest.json b/packages/client/manifest.json index 26ccbb760e..d16b117215 100644 --- a/packages/client/manifest.json +++ b/packages/client/manifest.json @@ -2662,12 +2662,6 @@ "key": "allowedFields", "placeholder": "All fields" }, - { - "type": "text", - "label": "Button text", - "key": "text", - "defaultValue": "Filter" - }, { "type": "select", "label": "Button size", diff --git a/packages/client/src/components/app/dynamic-filter/DynamicFilter.svelte b/packages/client/src/components/app/dynamic-filter/DynamicFilter.svelte index 9c12cdb658..20909d011c 100644 --- a/packages/client/src/components/app/dynamic-filter/DynamicFilter.svelte +++ b/packages/client/src/components/app/dynamic-filter/DynamicFilter.svelte @@ -8,7 +8,6 @@ export let dataProvider export let allowedFields - export let text = "" export let size = "M" const component = getContext("component") @@ -29,7 +28,6 @@ ) $: schema = dataProvider?.schema $: schemaFields = getSchemaFields(schema, allowedFields) - $: buttonText = text || "Filter" // Add query extension to data provider $: { @@ -73,7 +71,7 @@