Maslosoft Framework Documentation
Flexible Application Foundation
Search Drawer
Search drawer is a widget which displays results right in below input box similarly to dropdown menu. At the end of results will display link to more results if available.
If no $dataProvider is set, this will use all NavigableInterface instances as a source for SearchProvider.
It is recommended to set $id to ensure that URL will not change
when code changes.
Using default parameters will produce following input:
echo SearchDrawer::widget([ 'id' => 'example-search' ]);