Skip to content

fix(decimal-input): Preserve zero value display#524

Open
subzero911 wants to merge 2 commits into
PasarGuard:devfrom
subzero911:fix-hwid-zero
Open

fix(decimal-input): Preserve zero value display#524
subzero911 wants to merge 2 commits into
PasarGuard:devfrom
subzero911:fix-hwid-zero

Conversation

@subzero911
Copy link
Copy Markdown

Bug: if you enter '0' (unlimited)
image

it disappears when user reopens the dialog:
image

This fix should handle it

Previously, a value of `0` in the DecimalInput component would be cleared when the input lost focus, even if the `keepZeroOnBlur` prop was set to `true`. This change ensures that `0` is properly formatted and displayed, aligning with the intended behavior of the `keepZeroOnBlur` prop.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 24, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: bf972f60-fa54-4eed-b278-033a6cc1c62e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@M03ED M03ED requested a review from x0sina May 24, 2026 14:49
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.

1 participant