Skip to content

Commit

Permalink
fixes the literal-type constraint to enable the input component to di…
Browse files Browse the repository at this point in the history
…splay the error message below the input as intended
  • Loading branch information
joycexjiang committed Jan 3, 2025
1 parent 6c4a7fe commit 03fd8fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/legacy/src/elements/input/input.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export let max = '+Infinity';
export let labelposition: LabelPosition = 'top';
export let tooltip = '';
export let state: 'info' | 'warn' | 'error' | 'success' | '' = 'info';
export let message: '';
export let message = '';
export let incrementor: 'buttons' | 'slider' | 'none' = 'none';
// https://github.com/sveltejs/svelte/issues/7596
Expand Down

0 comments on commit 03fd8fc

Please sign in to comment.