Currently DockedSearchBar only allows for uncontrolled use.
A common UI pattern is to render a search bar with a list of recent searches. Once the user clicks any item on the list the search bar is filled with their choice.
This is not possible to implement without a controlled input or a way to control the keyboard and focus.
There's already a
onQueryChange
prop, I believe
query
should be exposed just like it already is on the TextField component.