Skip to content
Discussion options

You must be logged in to vote

Thank you for the reproduction, this makes it very clear what you are talking about.

So, this is what is happening:

repro_1 does not have any action property in its form component, so, by default, it submits the form to the current page. When you are visiting the page from repro_1, then the form is submitted to repro_1, where it is handled, it all works.

When you embed repro_1 inside repro_2, then the current page is repro_2, so it submits the form to repro_2, which does not handle it at all.

One cleaner way to do it would be:

repro_1.sql

CREATE TABLE IF NOT EXISTS clients_company(
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    username TEXT NOT NULL,
    next_maint DATE,
    created_at DATE

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@monsieurmerle
Comment options

@lovasoa
Comment options

@monsieurmerle
Comment options

@lovasoa
Comment options

Answer selected by monsieurmerle
@monsieurmerle
Comment options

@monsieurmerle
Comment options

@lovasoa
Comment options

@monsieurmerle
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants