Skip to content

Commit d32e333

Browse files
authored
Merge pull request #986 from web3ui/fix/input-button
[InputNew]: Password Input
2 parents b62ac92 + 6f0d725 commit d32e333

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/smooth-nails-greet.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@web3uikit/core': patch
3+
---
4+
5+
fix input enter key press password toggle issue

packages/core/src/lib/InputNew/atoms/VisibilityToggle.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const VisibilityToggle: React.FC<IVisibilityToggleProps> = ({
1313
data-testid="test-input-icon-visibility"
1414
onClick={() => onClick()}
1515
tabIndex={-1}
16+
type="button"
1617
>
1718
{isInputHidden ? (
1819
<EyeClosed

0 commit comments

Comments
 (0)