From f1031df8e97cb4cc7bb96c76a044afd1d42405e6 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 15 May 2018 21:20:03 +0200 Subject: [PATCH] widget-slider: add missing name field to dialog --- src/components/dialog/edit-widget-control-creator.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/dialog/edit-widget-control-creator.js b/src/components/dialog/edit-widget-control-creator.js index 1f033c0..a829de2 100644 --- a/src/components/dialog/edit-widget-control-creator.js +++ b/src/components/dialog/edit-widget-control-creator.js @@ -117,9 +117,10 @@ export default function createControls(widgetType = null, widget = null, session break; case 'Slider': dialogControls.push( - validateForm(id)} simulationModels={simulationModels} handleChange={(e) => handleChange(e)} />, - validateForm(id)} simulationModels={simulationModels} handleChange={(e) => valueBoundOnChange(e)} />, - validateForm(id)} simulationModels={simulationModels} handleChange={(e) => handleChange(e)} /> + 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)} /> ); break; case 'Button':