Skip to content

fix: Fix when enter over 8 decimal crash.#2629

Merged
Keith-CY merged 2 commits into
nervosnetwork:developfrom
yanguoyu:fix-enter-over8
Apr 17, 2023
Merged

fix: Fix when enter over 8 decimal crash.#2629
Keith-CY merged 2 commits into
nervosnetwork:developfrom
yanguoyu:fix-enter-over8

Conversation

@yanguoyu
Copy link
Copy Markdown
Contributor

When the depositValue is invalid, it displays the error in the textField, but it will throw an exception when valid wheater it's big than the max deposit value, and when the depositValue is invalid, it's no need to set max depositValue.

fix-more-than-8.mov

@Keith-CY
Copy link
Copy Markdown
Contributor

Please have a review @JeffreyMa597 @WhiteMinds @devchenyan

Comment thread packages/neuron-ui/src/components/NervosDAO/index.tsx
@Keith-CY Keith-CY added replied and removed replied labels Apr 16, 2023
@Keith-CY Keith-CY merged commit 4c6ef29 into nervosnetwork:develop Apr 17, 2023
@yanguoyu yanguoyu deleted the fix-enter-over8 branch June 13, 2023 02:24
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.

4 participants