mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
fix form demo
This commit is contained in:
parent
4f8200bf53
commit
d814145b7e
@ -30,7 +30,7 @@ class PriceInput extends React.Component {
|
||||
// Should be a controlled component.
|
||||
if ('value' in nextProps) {
|
||||
return {
|
||||
value: nextProps.value || {},
|
||||
...(nextProps.value || {}),
|
||||
};
|
||||
}
|
||||
return null;
|
||||
|
Loading…
Reference in New Issue
Block a user