How to use autocomplete with searchbar? (v1)

I want to use autocomplete with a searchbar in material theme, and I am using framework7-vue. How would I go about doing this? The docs don’t include anything for autocomplete on searchbars or how to access that using framework7-vue. When I try it on the input that the searchbar component creates I get an error saying that offset is not defined.