File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ export class ParameterValueInput extends React.Component {
145145 < Input
146146 className = { 'form-control ' + className }
147147 defaultValue = { value || '' }
148- onChange = { onSelect }
148+ onChange = { event => onSelect ( event . target . value ) }
149149 />
150150 ) ;
151151 }
@@ -170,12 +170,12 @@ export class ParameterValueInput extends React.Component {
170170export default function init ( ngModule ) {
171171 ngModule . component ( 'parameterValueInput' , {
172172 template : `
173- <parameter-value-input-impl
174- type="$ctrl.param.type"
175- value="$ctrl.param.normalizedValue"
176- enum-options="$ctrl.param.enumOptions"
173+ <parameter-value-input-impl
174+ type="$ctrl.param.type"
175+ value="$ctrl.param.normalizedValue"
176+ enum-options="$ctrl.param.enumOptions"
177177 query-id="$ctrl.param.queryId"
178- on-select="$ctrl.setValue"
178+ on-select="$ctrl.setValue"
179179 ></parameter-value-input-impl>
180180 ` ,
181181 bindings : {
You can’t perform that action at this time.
0 commit comments