Skip to content

Commit

Permalink
Fixes #36591 - Fix the parameter value masking
Browse files Browse the repository at this point in the history
  • Loading branch information
girijaasoni committed Jul 25, 2023
1 parent 414c1c6 commit c0277d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 1 addition & 5 deletions app/views/api/v2/parameters/base.json.rabl
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
object @parameter

attributes :id, :name, :parameter_type, :associated_type, :hidden_value?

node do
partial("api/v2/common/show_hidden", :locals => { :value => :value }, :object => @object)
end
attributes :id, :name, :value, :parameter_type, :associated_type, :hidden_value?
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
SelectOption,
Button,
TextInput,
TextArea,
Checkbox,
FormGroup,
Form,
Expand Down Expand Up @@ -135,7 +134,7 @@ export const EditParametersTableRow = ({
<SelectOption value="false" />
</Select>
) : (
<TextArea
<TextInput
ouiaId={`edit-parameters-table-row-value-${rowIndex}`}
aria-label={`${param.name} value text`}
value={typeof value === 'object' ? JSON.stringify(value) : value}
Expand Down

0 comments on commit c0277d9

Please sign in to comment.