diff --git a/packages/standard-components/src/DataForm.svelte b/packages/standard-components/src/DataForm.svelte index 1510110ba9..938077371b 100644 --- a/packages/standard-components/src/DataForm.svelte +++ b/packages/standard-components/src/DataForm.svelte @@ -4,6 +4,12 @@ export let _bb export let model + const TYPE_MAP = { + string: "text", + boolean: "checkbox", + number: "number" + } + let username let password let newModel = { @@ -59,15 +65,23 @@