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

hide search input if table is not searchable #5578

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

pxpm
Copy link
Contributor

@pxpm pxpm commented Jul 26, 2024

WHY

BEFORE - What was wrong? What was happening before this PR?

Reported in Laravel-Backpack/theme-tabler#148

We were only "hidding" the when searchableTable was false. In themes that add additional icons to the input, those wouldn't be hidden.

AFTER - What is happening after this PR?

This forces the whole block of search to don't be in page at all if table search is disabled.

@pxpm pxpm merged commit 018bdf9 into main Jul 26, 2024
9 checks passed
@pxpm pxpm deleted the hide-table-search-when-option-is-disabled branch July 26, 2024 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant