-
Notifications
You must be signed in to change notification settings - Fork 52
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
feat: Add min/max props into InputNumber #153
Conversation
Adding range into InputNumber component with min/max props
Thank you, great. Can you add relevant documentation to the |
This is a breakthrough change, so I marked it 0.3. |
I am honored! I have refactored the component and added the Min / Max section to docs, but where should I insert the demo and props? |
It would be better |
Then I will do so. Also, the doc currently list I will make these changes to the doc and commit. |
- Change min/max insertion position. - Change the crate that is added to T impl for conciseness. - Uniformity of expression: maximum for minimum.
thank you. |
* feat: Add min/max props into InputNumber Adding range into InputNumber component with min/max props * refactor: InputNumber component * docs: Add Min / Max section into InputNumber * docs: Improvement InputNumber - Change min/max insertion position. - Change the crate that is added to T impl for conciseness. - Uniformity of expression: maximum for minimum.
Hello @luoxiaozero
Added range with min/max props to InputNumber component.
When the input value reaches the limit, the plus/minus icon will be disabled.
If it goes out of range, the component will be invalid and will automatically fall within the range on blur.