Skip to content

Commit

Permalink
Merge branch 'main' into fix-onupdate-trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD authored Apr 19, 2024
2 parents 0a628aa + 6ea17f1 commit 0219131
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/renderer/src/stories/JSONSchemaInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -997,6 +997,10 @@ export class JSONSchemaInput extends LitElement {
},
});

input.addEventListener("keydown", (ev) => {
if (ev.key === "Enter") submitButton.onClick();
});

return html`<div style="width: 100%;">
<div style="display: flex; gap: 10px; align-items: center;">${input}${submitButton}</div>
${list}
Expand Down

0 comments on commit 0219131

Please sign in to comment.