Skip to content

Error received when submitting a non-superform that has inherited an Superform within its Layout #230

Closed
@saturnonearth

Description

@saturnonearth

Description
I am using a Superform inside a navbar that the user has access to. This navbar is located in the Layout. I noticed that if I have a normal run of the mill Svelte progressively enhanced form on a +page.svelte that inherits the Layout, and in turn, the Superform, I will get an error when trying to submit the "normal" form.

If applicable, a MRE
Go here: https://stackblitz.com/edit/sveltekit-superforms-1-testing-v3y6fy?file=src%2Froutes%2Fnormal-form%2F%2Bpage.svelte

And navigate to /normal-form in the URL. Then try to submit the bottom form (within the green box), and view the browser console window.

Activity

ciscoheat

ciscoheat commented on Jul 13, 2023

@ciscoheat
Owner

Thanks, will take a look asap! Got some other updates coming soon as well.

added
nextWill be implemented in the next release
confirmedConfirmed bug, will be worked upon in a near release.
on Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingconfirmedConfirmed bug, will be worked upon in a near release.nextWill be implemented in the next release

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @ciscoheat@saturnonearth

      Issue actions

        Error received when submitting a non-superform that has inherited an Superform within its Layout · Issue #230 · ciscoheat/sveltekit-superforms