diff --git a/src/lib/components/CurrencyInput/CurrencyInput.svelte b/src/lib/components/CurrencyInput/CurrencyInput.svelte index a88c383..21c5c60 100644 --- a/src/lib/components/CurrencyInput/CurrencyInput.svelte +++ b/src/lib/components/CurrencyInput/CurrencyInput.svelte @@ -13,6 +13,7 @@ export let fontColor: string | undefined = undefined; export let errors: string[] = []; export let tooltip: string | undefined = undefined; + export let disabled = false; const dispatch = createEventDispatcher(); @@ -53,6 +54,7 @@ bind:value={amountValue} bind:this={amountInput} on:input={handleChange} + {disabled} style={`font-size: ${fontSize}; color: ${fontColor}`} />