Search ActiveForm widget


I would like to know if there is already solution for such request:

I would like to have searchable ActiveForm field where I may enter a value, script would search specific data in dastabase table according to the value and return list of matching result in dropdown-like view.


I enter name of the user, script would search name of the user in user table and return any matching results as shown on image below in this post.

I’ve noticed that it is implemented in GII. For example, when I create new model, I can enter table name and any matches are going to be returned back to me and shown as a dropdown-like view and I choose one I need and it is entered into the fields.

I would like to make something like this:

Not sure if this is out of the box solution.

I am using advanced template for Yii 2.0.12.

I found solution -