Skip to content

Commit

Permalink
fix(Select): programatic setting of value bug
Browse files Browse the repository at this point in the history
  • Loading branch information
N00nDay committed Oct 5, 2023
1 parent 354dd1e commit 9c4ae58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/components/select/Select.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
? value[optionValue]
: '';
let selectedValue: Writable<SelectOption | SelectOption[] | undefined> = writable(value);
$: selectedValue.set(value);
let currentError: Writable<string | undefined> = writable(error);
$: currentError.set(error);
let isMobile: Writable<boolean> = writable(mobile);
Expand Down

1 comment on commit 9c4ae58

@vercel
Copy link

@vercel vercel bot commented on 9c4ae58 Oct 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

stwui – ./

stwui-git-main-n00nday.vercel.app
stwui.vercel.app
stwui-n00nday.vercel.app

Please sign in to comment.