mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 01:51:40 -05:00
Fix time component
This commit is contained in:
parent
cd5a31f6b0
commit
1a33e91554
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ class Time extends PureComponent {
|
|||
// when the datetime picker has mounted, SmartForm will catch the date value (no formsy mixin in this component)
|
||||
componentDidMount() {
|
||||
if (this.props.value) {
|
||||
this.updateDate(this.props.value);
|
||||
this.context.updateCurrentValues({[this.props.name]: this.props.value});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue