Skip to content

Commit

Permalink
fix(TextField): Type error
Browse files Browse the repository at this point in the history
  • Loading branch information
techniq committed Oct 18, 2024
1 parent 982dd85 commit 367747d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/svelte-ux/src/lib/components/TextField.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
export let placeholder: string | undefined = undefined;
export let error: string | string[] | boolean | undefined = '';
export let hint = '';
export let autocomplete = 'off'; // https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
export let autocomplete: HTMLTextAreaElement['autocomplete'] = 'off'; // https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
export let multiline = false;
export let required = false;
export let disabled = false;
Expand Down

0 comments on commit 367747d

Please sign in to comment.