8000 Hidden field label is displayed · Issue #13087 · wagtail/wagtail · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Hidden field label is displayed #13087

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

Open
tandrieuxx opened this issue May 2, 2025 · 0 comments
Open

Hidden field label is displayed #13087

tandrieuxx opened this issue May 2, 2025 · 0 comments
Labels
status:Unconfirmed Issue, usually a bug, that has not yet been validated as a confirmed problem. type:Bug

Comments

@tandrieuxx
Copy link
tandrieuxx commented May 2, 2025

Issue Summary

I wanted to include a hidden field in the panel of a snippet's create view, by setting HiddenInput as the FieldPanel's widget, but it renders as a label, alone. The input itself is correctly rendered with type="hidden".
If I omit this field in the panel, but add it in the FieldPanel's base_form_class, the input is not included at all in the HTML rendered.

Technical details

  • Python version: 3.12
  • Django version: 4.0.13
  • Wagtail version: 6.3

Working on this

Anyone can contribute to this. View our contributing guidelines, add a comment to the issue once you’re ready to start.

@tandrieuxx tandrieuxx added status:Unconfirmed Issue, usually a bug, that has not yet been validated as a confirmed problem. type:Bug labels May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:Unconfirmed Issue, usually a bug, that has not yet been validated as a confirmed problem. type:Bug
Projects
None yet
Development

No branches or pull requests

1 participant
0