mmenu-js icon indicating copy to clipboard operation
mmenu-js copied to clipboard

stopping searchfield from searching panels?

Open marcelmoreau opened this issue 3 years ago • 1 comments

Awesome plugin.

Is there any way with version 9 to ensure that searchfield does not automatically search panels on the 'input' event? I have my searchfield's form action going to a URL, and wanted to have nothing happen when users type in the text input

marcelmoreau avatar Dec 02 '21 00:12 marcelmoreau

Unfortunately not, the searchfield will always search through the menu. I'll see if I can add an option for this behavior.

FrDH avatar Jan 27 '22 08:01 FrDH

The searchfield.search option was added in version 9.2. Set it to false and the searchfield will not search anything.

FrDH avatar Sep 04 '22 10:09 FrDH