diff --git a/packages/bbui/src/Form/Core/File.svelte b/packages/bbui/src/Form/Core/File.svelte index 313ff409df..618cccd941 100644 --- a/packages/bbui/src/Form/Core/File.svelte +++ b/packages/bbui/src/Form/Core/File.svelte @@ -7,6 +7,7 @@ export let value = null export let title = "Upload file" export let disabled = false + export let allowClear = null export let extensions = null export let handleFileTooLarge = null export let fileSizeLimit = BYTES_IN_MB * 20 @@ -65,14 +66,14 @@ {/if} {/if} - {#if !disabled} + {#if !disabled || (allowClear === true && disabled)}
{/if} {/if} -