Skip to content

Commit

Permalink
feat: Allow CurrencyInput disabling
Browse files Browse the repository at this point in the history
  • Loading branch information
mateoroldos committed Jul 10, 2023
1 parent 08cbd34 commit d86368e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/components/CurrencyInput/CurrencyInput.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -53,6 +54,7 @@
bind:value={amountValue}
bind:this={amountInput}
on:input={handleChange}
{disabled}
style={`font-size: ${fontSize}; color: ${fontColor}`}
/>
</div>
Expand Down

0 comments on commit d86368e

Please sign in to comment.