Skip to content

Commit

Permalink
test: reconnect submit button
Browse files Browse the repository at this point in the history
Submit button need to trigger form submission.

Signed-off-by: Tim deBoer <[email protected]>
  • Loading branch information
deboer-tim committed Aug 10, 2023
1 parent 7f8232c commit e17c7c3
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,10 @@ async function close() {
<div class="w-full">
<div class="float-right">
<Button type="link" on:click="{() => router.goto('/preferences/resources')}">Close</Button>
<Button disabled="{!isValid}" inProgress="{creationInProgress}">Create</Button>
<Button
disabled="{!isValid}"
inProgress="{creationInProgress}"
on:click="{() => formEl.requestSubmit()}">Create</Button>
</div>
</div>
</form>
Expand Down

0 comments on commit e17c7c3

Please sign in to comment.