+
{/if}
@@ -68,4 +70,12 @@
div :global(.ql-editor p) {
word-break: break-all;
}
+
+ div.disabled {
+ pointer-events: none !important;
+ background-color: rgb(244, 244, 244);
+ }
+ div.disabled :global(.ql-container *) {
+ color: var(--spectrum-alias-text-color-disabled) !important;
+ }
diff --git a/packages/standard-components/src/forms/OptionsField.svelte b/packages/standard-components/src/forms/OptionsField.svelte
index 48feb77b54..82f213686b 100644
--- a/packages/standard-components/src/forms/OptionsField.svelte
+++ b/packages/standard-components/src/forms/OptionsField.svelte
@@ -5,6 +5,7 @@
export let field
export let label
export let placeholder
+ export let disabled = false
let fieldState
let fieldApi
@@ -26,6 +27,7 @@
{#if fieldState}
-
+
{#if !$fieldState.valid}