Skip to content

Commit

Permalink
fix required form select props (huntabyte#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte authored Oct 20, 2023
1 parent 0b64bdb commit 272e005
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
type $$Props = SelectPrimitive.Props;
const { setValue, name, value } = getFormField();
export let onSelectedChange: $$Props["onSelectedChange"];
export let onSelectedChange: $$Props["onSelectedChange"] = undefined;
</script>

<Select.Root
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
type $$Props = SelectPrimitive.Props;
const { setValue, name, value } = getFormField();
export let onSelectedChange: $$Props["onSelectedChange"];
export let onSelectedChange: $$Props["onSelectedChange"] = undefined;
</script>

<Select.Root
Expand Down

0 comments on commit 272e005

Please sign in to comment.