Skip to content

Commit

Permalink
Fix the input value
Browse files Browse the repository at this point in the history
  • Loading branch information
2-towns committed Nov 14, 2024
1 parent ebea02f commit 951365b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "git",
"url": "https://github.com/codex-storage/codex-marketplace-ui-components"
},
"version": "0.0.43",
"version": "0.0.44",
"type": "module",
"scripts": {
"prepack": "npm run build",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const Input = forwardRef<HTMLInputElement, Props>(
"aria-invalid": invalid || isInvalid,
})}
{...rest}
{...(value ? { value } : {})}
value={value || ""}
/>
</div>

Expand Down

0 comments on commit 951365b

Please sign in to comment.