I have a form with many select2 fields as Ajax controls and many other dependent select2 fields again.
So I have written one ActiveField class and configured in gii, and generated code.
Thats it. The code is in one place and quicker way of implementation.
I don’t need to use any extensions like select2 or typeahead (though I have developed those) etc…
What do you think?