Skip to content

Commit

Permalink
fix(InputNumber): set min max default to undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
N00nDay committed Jul 5, 2023
1 parent b2b0f8d commit e3197ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/input-number/InputNumber.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
export let readonly = false;
export let allowClear = false;
export let showSpin = false;
export let min: undefined | string;
export let max: undefined | string;
export let min: undefined | string = undefined;
export let max: undefined | string = undefined;
$: minValue = min ? parseInt(min) : undefined;
$: maxValue = max ? parseInt(max) : undefined;
Expand Down

0 comments on commit e3197ec

Please sign in to comment.