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

[BUG] - <Input type='hidden' /> does not hide the entire component #3170

Closed
RollingRocky360 opened this issue Jun 3, 2024 · 1 comment · Fixed by #3174
Closed

[BUG] - <Input type='hidden' /> does not hide the entire component #3170

RollingRocky360 opened this issue Jun 3, 2024 · 1 comment · Fixed by #3174
Assignees
Labels
📦 Scope : Components Related to the components 🐛 Type: Bug Something isn't working

Comments

@RollingRocky360
Copy link

NextUI Version

2.4.0

Describe the bug

Adding the type='hidden' attribute on the Input component does not hide it completely - it only hides the underlying HTML <input>.

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

<Input type='hidden' />

Expected behavior

Ideally the entire element should be hidden while still being able to retrieve the value in a form submission, etc.

Screenshots or Videos

The wrapper still being visible:
image

Operating System Version

Windows

Browser

Edge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 Scope : Components Related to the components 🐛 Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants