Skip to content

Commit

Permalink
Add default to integration data
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewelwell committed Jan 29, 2024
1 parent ac6a301 commit 1c0d7c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ const CreateEditIntegration = class extends Component {
<Input
id={field.label.replace(/ /g, '')}
ref={(e) => (this.input = e)}
value={this.state.data[field.key]}
value={this.state.data[field.key] || field.default}
onChange={(e) => {
this.update(field.key, e)
}}
Expand Down

0 comments on commit 1c0d7c1

Please sign in to comment.