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

Gap when using hidden input #2955

Open
keasy9 opened this issue Feb 11, 2025 · 0 comments
Open

Gap when using hidden input #2955

keasy9 opened this issue Feb 11, 2025 · 0 comments
Assignees
Labels

Comments

@keasy9
Copy link

keasy9 commented Feb 11, 2025

When using hidden input in rows layout additional gap adds around it because this layout has flex container with gap and input has not hidden container.

Reproducing:

Input::make('some-data')->hidden(),
Input::make('like-id')->hidden(),
Input::make('or-something')->hidden(),

Result (modal example):
Image

Problem goes away when wrapping inputs in group like this:

Group::make([
    Input::make('some-data')->hidden(),
    Input::make('like-id')->hidden(),
    Input::make('or-something')->hidden(),
]),

or I can just redefine input/layout template, but this behavior still looks like a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants