From 11feffa1e071edb112747f2ad4cd3cf4bb22fdc5 Mon Sep 17 00:00:00 2001 From: chungchunwang <62127500+chungchunwang@users.noreply.github.com> Date: Thu, 18 May 2023 08:19:21 +0800 Subject: [PATCH] UI bug fix + default value change --- package.json | 2 +- schema.json | 4 ++-- src/Component.svelte | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 187e43a..fe44de8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Budibase-File-Upload", - "version": "1.1.7", + "version": "1.1.8", "description": "An amazing Budibase component!", "license": "MIT", "svelte": "index.js", diff --git a/schema.json b/schema.json index ddc6d4e..7c08898 100644 --- a/schema.json +++ b/schema.json @@ -39,13 +39,13 @@ { "type": "boolean", "key": "encodingProtection", - "label": "Encoding Protection - Resolves Budibase Bug #8826 For SQL Databases - Recommended", + "label": "Encoding Protection - Recommended", "defaultValue": true }, { "type": "boolean", "key": "useBlobURL", - "label": "Use BlobURL instead of DataURL for opening files (Removes restriction for files to be opened in iFrame, which could be blocked + shorter URI - Recommended)", + "label": "Use BlobURL instead of DataURL for opening files - Recommended", "defaultValue": true }, { diff --git a/src/Component.svelte b/src/Component.svelte index 5a552d6..8821f07 100644 --- a/src/Component.svelte +++ b/src/Component.svelte @@ -37,7 +37,7 @@ $: formField = formApi?.registerField( field, "text", - 0, + "", disabled, validation, formStep