Skip to content

Conversation

@J-Michalek
Copy link
Contributor

Resolves: #1960

The issue was that an empty string is converted into 0 also deleting numeric values requires different handling than strings.

@pkg-pr-new
Copy link

pkg-pr-new bot commented May 30, 2025

Open in StackBlitz

npm i https://pkg.pr.new/reka-ui@1965

commit: 802b9a2

@J-Michalek J-Michalek marked this pull request as draft May 30, 2025 07:28
@J-Michalek J-Michalek marked this pull request as ready for review May 30, 2025 08:04
Copy link
Member

@zernonia zernonia left a comment

Choose a reason for hiding this comment

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

Can we have the test written for this case? 😁

We can also remove the computed isNumericMode in PinInputInput

@J-Michalek
Copy link
Contributor Author

Done, I have added more test cases 2e24cd7 and removed the unused computed.

@zernonia zernonia merged commit 446a9df into unovue:v2 Jun 7, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Pin Input with [type="number"] incorrect behavior

2 participants