input-number icon indicating copy to clipboard operation
input-number copied to clipboard

React Input Number

Results 123 input-number issues
Sort by recently updated
recently updated
newest added

[[English Template / 英文模板](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE.md)] ### 🤔 这个变动的性质是? - [x] 新特性提交 - [ ] 日常 bug 修复 - [ ] 站点、文档改进 - [ ] 演示代码改进 - [ ] 组件样式/交互改进 - [...

### ⚠️ InputNumber完全受控在Safari浏览器中切换到中文输入法后输入数字时,onChange事件会先于onKeyDown事件触发,导致提前触发precision格式化 🤖 Safari版本:**15.1 (17612.2.9.1.20)** 复现地址(使用Safari浏览器打开,输入法切换到中文拼音模式): https://stackblitz.com/edit/react-ts-ca5gfn

https://github.com/react-component/input-number/blob/d3de1472f23b4978d74a221e4b11db5408900ef9/src/InputNumber.tsx#L432 采用了先更改数值在聚焦。应该是先focus再change,模拟input改变时间顺序

`onChange` is triggered with `null` sometimes, but type of `value` is just `ValueType` (`string | number`) for now. However making this change is likely going to be a breaking change;...

if zero is entered it is converted to empty value and validation error is thrown

Fix the issue reported by: https://github.com/ant-design/ant-design/issues/33084#issuecomment-1001577639

change链接:https://github.com/react-component/input-number/pull/293 other: 疑问:我看代码handler的代码里判断是移动端就直接return了是为啥呢? 代码:src/StepHandler.tsx 62-64行 截图: ![image](https://user-images.githubusercontent.com/38275018/133015079-32c14f0d-4594-4f5e-9e31-804f5adaf039.png)

在实际使用的过程中,发现用户很在意自己的输入数字是不是被矫正了,开发这需要获取这个信息,提供最终值和用户输入值就有一个比较的入口。 ```javascript // 类似这种 onChange(value, input) { } ```

Hello guys. I'm using your component and at the moment I have a task where I have to implement different steps depending on value. For example: When the value is...