mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
fix: 修复 inputNumber resetValue 默认值失效问题 (#2264)
This commit is contained in:
parent
2eef36c633
commit
de4bd5d915
@ -120,6 +120,7 @@ export default class NumberControl extends React.Component<NumberProps, any> {
|
||||
})
|
||||
export class NumberControlRenderer extends NumberControl {
|
||||
static defaultProps: Partial<FormControlProps> = {
|
||||
validations: 'isNumeric'
|
||||
validations: 'isNumeric',
|
||||
...NumberControl.defaultProps
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user