diff --git a/src/components/dialog/edit-widget-control-creator.js b/src/components/dialog/edit-widget-control-creator.js index a829de2..0d94bcd 100644 --- a/src/components/dialog/edit-widget-control-creator.js +++ b/src/components/dialog/edit-widget-control-creator.js @@ -120,7 +120,8 @@ export default function createControls(widgetType = null, widget = null, session handleChange(e)} validate={id => validateForm(id)} />, validateForm(id)} simulationModels={simulationModels} handleChange={(e) => handleChange(e)} />, validateForm(id)} simulationModels={simulationModels} handleChange={(e) => handleChange(e)} />, - validateForm(id)} simulationModels={simulationModels} handleChange={(e) => handleChange(e)} /> + validateForm(id)} simulationModels={simulationModels} handleChange={(e) => handleChange(e)} />, + handleChange(e)} /> ); break; case 'Button': diff --git a/src/components/widget-slider.js b/src/components/widget-slider.js index baf79b0..7f823fe 100644 --- a/src/components/widget-slider.js +++ b/src/components/widget-slider.js @@ -51,6 +51,9 @@ class WidgetSlider extends Component { } valueIsChanging(newValue) { + if (this.props.widget.continous_update) + this.valueChanged(newValue); + this.setState({ value: newValue }); }