S3 upload field is now simple input

This commit is contained in:
Mel O'Hagan 2023-09-08 23:59:25 +01:00
parent 139c642199
commit 1f4c608882
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import { Checkbox, Select, RadioGroup, Stepper } from "@budibase/bbui"
import { Checkbox, Select, RadioGroup, Stepper, Input } from "@budibase/bbui"
import DataSourceSelect from "./controls/DataSourceSelect.svelte"
import S3DataSourceSelect from "./controls/S3DataSourceSelect.svelte"
import DataProviderSelect from "./controls/DataProviderSelect.svelte"
@ -60,6 +60,7 @@ const componentMap = {
"field/longform": FormFieldSelect,
"field/datetime": FormFieldSelect,
"field/attachment": FormFieldSelect,
"field/s3": Input,
"field/link": FormFieldSelect,
"field/array": FormFieldSelect,
"field/json": FormFieldSelect,

View File

@ -3721,7 +3721,7 @@
},
"settings": [
{
"type": "field/attachment",
"type": "field/s3",
"label": "Field",
"key": "field",
"required": true