Skip to content

Commit 0102600

Browse files
authored
fix input clear button's type (#743)
1 parent 8ddd04a commit 0102600

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@nordcloud/gnui",
33
"description": "Nordcloud Design System - a collection of reusable React components used in Nordcloud's SaaS products",
4-
"version": "11.0.0",
4+
"version": "11.0.1",
55
"license": "MIT",
66
"repository": {
77
"type": "git",

src/components/input/Input.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export const Input = React.forwardRef<HTMLInputElement, Props>(
4040
<Clear
4141
title={`Clear ${props.name ?? ""} value`}
4242
role="button"
43+
type="button"
4344
onClick={onClear}
4445
>
4546
<SVGIcon size="sm" name="close" />

0 commit comments

Comments
 (0)