Skip to content

Commit

Permalink
Fix: static param text value is [object Object] (#3371)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranbena authored Jan 30, 2019
1 parent 00e991e commit cc13539
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions client/app/components/ParameterValueInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class ParameterValueInput extends React.Component {
<Input
className={'form-control ' + className}
defaultValue={value || ''}
onChange={onSelect}
onChange={event => onSelect(event.target.value)}
/>
);
}
Expand All @@ -170,12 +170,12 @@ export class ParameterValueInput extends React.Component {
export default function init(ngModule) {
ngModule.component('parameterValueInput', {
template: `
<parameter-value-input-impl
type="$ctrl.param.type"
value="$ctrl.param.normalizedValue"
enum-options="$ctrl.param.enumOptions"
<parameter-value-input-impl
type="$ctrl.param.type"
value="$ctrl.param.normalizedValue"
enum-options="$ctrl.param.enumOptions"
query-id="$ctrl.param.queryId"
on-select="$ctrl.setValue"
on-select="$ctrl.setValue"
></parameter-value-input-impl>
`,
bindings: {
Expand Down

0 comments on commit cc13539

Please sign in to comment.