Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form element contents will be rendered outside of the Form #8765

Closed
1 task
daraHK88 opened this issue Oct 6, 2023 · 1 comment
Closed
1 task

Form element contents will be rendered outside of the Form #8765

daraHK88 opened this issue Oct 6, 2023 · 1 comment
Labels
needs triage Issue needs to be triaged

Comments

@daraHK88
Copy link

daraHK88 commented Oct 6, 2023

Astro Info

Astro                    v3.2.3
Node                     v18.17.1
System                   Linux (x64)
Package Manager          npm
Output                   server
Adapter                  @astrojs/node
Integrations             unocss
                         @astrojs/sitemap
                         astro-compress
                         @vite-pwa/astro-integration

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

The Form element contents will render outside of the form and form element is empty on the browser. the only way to solve it is to remove the map. I don't know if it's me that I'm making a mistake or a bug in the compiler.

run the code and you will see in the inspect of the browser that Form element is empty and whatever that must be inside it is next to it

please check the Form with ID "addApiForm" in the code and browser

What's the expected result?

the elements that I put inside the form must stay inside the form not be relocated to any other place

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-ngr3mk-j76ht7?file=src%2Fpages%2Findex.astro

Participation

  • I am willing to submit a pull request for this issue.
@github-actions github-actions bot added the needs triage Issue needs to be triaged label Oct 6, 2023
@daraHK88 daraHK88 changed the title Form element contents will be rendered outside of the element Form element contents will be rendered outside of the Form Oct 6, 2023
@bluwy
Copy link
Member

bluwy commented Oct 9, 2023

Seems like a duplicate of withastro/compiler#870. The table bug is affecting the enclosing of the form. Also looks like the {title} triggers the issue. I'll close this in favour of that.

@bluwy bluwy closed this as not planned Won't fix, can't repro, duplicate, stale Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants