Skip to content

Commit

Permalink
Fixes #36594 - Fix addition of '\' when editing ansible variables
Browse files Browse the repository at this point in the history
  • Loading branch information
girijaasoni authored and nofaralfasi committed Jan 17, 2024
1 parent 8a89d91 commit fcd29f9
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ const EditableValue = props => {
<TextAreaField
aria-label="Edit override field"
onChange={props.onChange}
value={JSON.stringify(props.value)}
value={
typeof props.value === 'object'
? JSON.stringify(props.value)
: props.value
}
validation={props.validation}
isDisabled={props.working}
/>
Expand Down

0 comments on commit fcd29f9

Please sign in to comment.