fix: Input.Number
输入框删完最后一个数字时不触发onChange的问题(此时返回null或undefined)
#780
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Types of changes
Changelog
Input.Number
输入框删完最后一个数字时不触发onChange的问题(此时返回null或undefined)Summary by CodeRabbit
新功能
Input.Number
组件的输入处理逻辑,支持在输入框清空时返回null
或undefined
,具体取决于allowNull
属性。App
组件以增强Input.Number
组件的功能,添加了输入变化时的控制台日志记录功能。错误修复
Input.Number
组件在删除最后一位数字时未触发onChange
事件的问题。文档
shineout
包的变更日志,记录了版本3.4.6-beta.3
的更新内容。