[ ] The bug happens consistently across all tested browsers
[ ] This bug happens when using yii2-widgets without other plugins.
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/69385150-demo-code-for-typeahead-is-in-incorrect-style-syntax?utm_campaign=plugin&utm_content=tracker%2F530581&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F530581&utm_medium=issues&utm_source=github).
Prerequisites
master
branch of yii2-widgets.Steps to reproduce the issue
Expected behavior and actual behavior
When I follow those steps, I see...
I was expecting...
also include to example a function arguments is better
Environment
Browsers
Operating System
Libraries
Isolating the problem