From be41a855d103d81ab874f99bd5dc3419e1982c95 Mon Sep 17 00:00:00 2001 From: Rory Powell Date: Mon, 18 Oct 2021 12:02:08 +0100 Subject: [PATCH] Remove redundant fieldTypes --- .../design/PropertiesPanel/ComponentSettingsSection.svelte | 1 - .../PropertiesPanel/PropertyControls/FormFieldSelect.svelte | 3 +-- .../PropertiesPanel/PropertyControls/PropertyControl.svelte | 2 -- packages/client/manifest.json | 1 - 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/builder/src/components/design/PropertiesPanel/ComponentSettingsSection.svelte b/packages/builder/src/components/design/PropertiesPanel/ComponentSettingsSection.svelte index ca6f0d24d1..f047e9316b 100644 --- a/packages/builder/src/components/design/PropertiesPanel/ComponentSettingsSection.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/ComponentSettingsSection.svelte @@ -75,7 +75,6 @@ {#if canRenderControl(setting)} { let entries = Object.entries(schema ?? {}) diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/PropertyControl.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/PropertyControl.svelte index acfa057b01..91e67c1685 100644 --- a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/PropertyControl.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/PropertyControl.svelte @@ -13,7 +13,6 @@ export let control = null export let key = "" export let type = "" - export let fieldTypes = [] export let value = null export let props = {} export let onChange = () => {} @@ -83,7 +82,6 @@ name={key} text={label} {type} - {fieldTypes} {...props} /> {#if bindable && !key.startsWith("_") && type === "text"} diff --git a/packages/client/manifest.json b/packages/client/manifest.json index 393c906a55..2adfd96626 100644 --- a/packages/client/manifest.json +++ b/packages/client/manifest.json @@ -1950,7 +1950,6 @@ "settings": [ { "type": "field/options", - "fieldTypes": ["field/options", "field/string"], "label": "Field", "key": "field" },