diff --git a/packages/standard-components/src/forms/AttachmentField.svelte b/packages/standard-components/src/forms/AttachmentField.svelte index 0b454f9800..f2c4a35030 100644 --- a/packages/standard-components/src/forms/AttachmentField.svelte +++ b/packages/standard-components/src/forms/AttachmentField.svelte @@ -6,6 +6,7 @@ export let field export let label export let disabled = false + export let validation let fieldState let fieldApi @@ -35,6 +36,7 @@ {label} {field} {disabled} + {validation} type="attachment" bind:fieldState bind:fieldApi @@ -44,6 +46,7 @@ { fieldApi.setValue(e.detail) }} diff --git a/packages/standard-components/src/forms/BooleanField.svelte b/packages/standard-components/src/forms/BooleanField.svelte index 17a3c563bc..4634dd1062 100644 --- a/packages/standard-components/src/forms/BooleanField.svelte +++ b/packages/standard-components/src/forms/BooleanField.svelte @@ -6,6 +6,7 @@ export let label export let text export let disabled = false + export let validation let fieldState let fieldApi @@ -15,6 +16,7 @@ {label} {field} {disabled} + {validation} type="boolean" bind:fieldState bind:fieldApi diff --git a/packages/standard-components/src/forms/DateTimeField.svelte b/packages/standard-components/src/forms/DateTimeField.svelte index 9332cfa721..9a5babae33 100644 --- a/packages/standard-components/src/forms/DateTimeField.svelte +++ b/packages/standard-components/src/forms/DateTimeField.svelte @@ -7,12 +7,21 @@ export let placeholder export let disabled = false export let enableTime = false + export let validation let fieldState let fieldApi - + {#if fieldState}