Skip to content

Commit

Permalink
make control reflect actual value of controls (#21911)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Reuter authored Jan 27, 2023
1 parent 502e1b0 commit de7881b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const Control: React.FC<ControlProps> = ({ property, name, disabled, erro
);
}

const value = field.value ?? property.default;
const value = field.value;
if (property.enum) {
return (
<DropDown
Expand Down

0 comments on commit de7881b

Please sign in to comment.