From 1a33e91554699f9511d2e9c71be11eb1d8bdcc76 Mon Sep 17 00:00:00 2001 From: SachaG <358832+SachaG@users.noreply.github.com> Date: Tue, 14 Nov 2017 10:49:13 +0900 Subject: [PATCH] Fix time component --- packages/vulcan-forms/lib/components/bootstrap/Time.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vulcan-forms/lib/components/bootstrap/Time.jsx b/packages/vulcan-forms/lib/components/bootstrap/Time.jsx index 8051c4dbf..b06ca6e89 100644 --- a/packages/vulcan-forms/lib/components/bootstrap/Time.jsx +++ b/packages/vulcan-forms/lib/components/bootstrap/Time.jsx @@ -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}); } }