Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Negative value option reports an error. #2775

Closed
ghost opened this issue Mar 17, 2023 · 2 comments · May be fixed by #2777
Closed

Negative value option reports an error. #2775

ghost opened this issue Mar 17, 2023 · 2 comments · May be fixed by #2777
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@ghost
Copy link

ghost commented Mar 17, 2023

Issue description

Since you cannot set a negative value, why do you have such a scroll wheel option? ? ? Ha ha
image

Expected behavior

1

How to Reproduce

1

Screenshots

No response

Environment

docker-compose deploy the latest version.

Additional context

No response

@ghost ghost added the bug Something isn't working label Mar 17, 2023
@Baoyuantop Baoyuantop added the good first issue Good for newcomers label Mar 17, 2023
@Neilblaze
Copy link

@FreemanKevin I'm taking this up.

cc: @Baoyuantop Primarily we can apply a visibility: hidden for .ant-input-number-handler-wrap, but I think the better way is to not remove those up/down arrows and instead we can lock the input to a minimum value of 0.

@ghost
Copy link
Author

ghost commented Mar 18, 2023

good.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants