Search default for no result


Topic: Search default for no result

boris.net asked 5 years ago

Expected behavior

React MDB Select with search box needs a default no results option. I.e. when I search and filter out everything that was available, and no options left, need to display the default no results option with some sort of action attached to it. Or at least just display an option -I can give it a special value and fire an action from getValue function based on an if condition if they select that default run out of results option.

Actual behavior

No default option available. Search from list just runs out of options to show and seats there blank.

Resources (screenshots, code snippets etc.)


Jakub Chmura staff premium answered 5 years ago

Hi @boris.net

Thank you very much for your feedback!

It is currently not possible to set a default option to display the "No result" placeholder into your list.

It's a nice feature so we can implement this in our package. I added the task for that.

If there is anything else I could do for you do not hesitate to ask me. I'll be happy to help you.

Best Regards, Kuba


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.21.0
  • Device: PC
  • Browser: Chrome
  • OS: Ubuntu
  • Provided sample code: No
  • Provided link: No