gregnb / gregnb/mui-datatables

Searchbox can be closed and disappears despite searchOpen: true

Open
#1,344 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.7k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

Following this showcase: https://codesandbox.io/s/muidatatables-misc-requests-4vkxk

When you set both:
```
search: false,
searchOpen: true,
```
The searchbox is open (always, as it seems...) and the search icon is disabled: this is to meet our user's requirement i.e. always have a search box.

However:
- searchbox CAN be closed; it shouldn't, as there is NO way to re-enable it.
- searchbox IS closed when you click either on View Columns or Filter Table icons (doesn't happen if you click on Download or Print) - already reported here https://github.com/gregnb/mui-datatables/issues/1203

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.