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

searchAlwaysOpen not working with debounceSearchRender #1830

Closed
ashfaqnisar opened this issue Dec 15, 2021 · 0 comments
Closed

searchAlwaysOpen not working with debounceSearchRender #1830

ashfaqnisar opened this issue Dec 15, 2021 · 0 comments
Labels

Comments

@ashfaqnisar
Copy link
Contributor

The searchAlwaysOpen is working for the normal search but it is not working when using the debounceSearchRender.

Expected Behavior

  • The search field should always be open and we should not be able to close it, when we have added the searchAlwaysOpen tag.

Current Behavior

  • There is a close icon button being displayed next to the textfield, even if we have the searchAlwaysOpen set as true.
  • This is only occurring when we are using the debounceSearchRender as customSearchRender

Steps to Reproduce (for bugs)

  • Just add the below options to the table and you can produce this bug.
customSearchRender: debounceSearchRender(500),
searchAlwaysOpen:true,

Your Environment

Tech Version
Material-UI 5.0.1
MUI-datatables 4.0.0
React 17.0.2
browser Firefox
etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants