hide or remove reset in the filters form
Hello,
is there any way to remove reset button in the filters form?
6 Replies
With CSS?
is there any option in filament?
Looking at:
vendor/filament/tables/resources/views/components/filters/index.blade.php
No.
Can we override this?
if not how we can achieve that with css?
Just target it with basic css with a display:none ?
You can override it, but it's not advisable and that you should be using CSS where possible.
Ok thank you
I used this css
button[wire\:click="resetTableFiltersForm"] {
display: none;
}
and add it using
https://filamentphp.com/docs/3.x/support/assets#registering-css-files