fable-lit-fullstack-template
fable-lit-fullstack-template copied to clipboard
Form template fires twice when submitted using enter key
Did you use e.preventDefault()?
<form @submit={Ev (fun e -> e.preventDefault(); save())}>
</form>
Yes
And you are using a <input type="submit"> button?
Correct, I also tried what others said e.stopImmediatePropagation();