next13-pocketbase-demo icon indicating copy to clipboard operation
next13-pocketbase-demo copied to clipboard

Error when creating new note label:bug

Open cmarchena opened this issue 2 years ago • 1 comments

When trying to create a new note, the following error is thrown: Screen Shot 2022-11-07 at 12 36 05

cmarchena avatar Nov 07 '22 11:11 cmarchena

Fixed by this PR create function was triggering a re-rendering, this is fixed by adding e.preventDefault() and passing the event as parameter when form is submitted. Please @codediodeio close this issue when PR is merged. Thanks

cmarchena avatar Nov 07 '22 13:11 cmarchena