From c21468fe2e45e06c2f27710d2e52f4fb151b55a5 Mon Sep 17 00:00:00 2001 From: Markus Grigull Date: Thu, 17 Aug 2017 18:35:54 +0200 Subject: [PATCH] Add text control to gauge edit dialog --- src/components/dialog/edit-widget-control-creator.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/dialog/edit-widget-control-creator.js b/src/components/dialog/edit-widget-control-creator.js index b9305a6..b592952 100644 --- a/src/components/dialog/edit-widget-control-creator.js +++ b/src/components/dialog/edit-widget-control-creator.js @@ -75,8 +75,9 @@ export default function createControls(widgetType = null, widget = null, session handleChange([e, {target: {id: 'signal', value: ''}}]); } dialogControls.push( - validateForm(id)} simulation={simulation} handleChange={(e) => gaugeBoundOnChange(e) } />, - validateForm(id)} simulation={simulation} handleChange={(e) => handleChange(e)} /> + validateForm(id)} handleChange={e => handleChange(e)} />, + validateForm(id)} simulation={simulation} handleChange={(e) => gaugeBoundOnChange(e) } />, + validateForm(id)} simulation={simulation} handleChange={(e) => handleChange(e)} /> ); break; case 'PlotTable':