Answer the question
In order to leave comments, you need to log in
How to pull data for one field with ajax?
Good afternoon,
How to pull data for one field with ajax?
Test field, enter numbers -
array - table::find()->select(['field1', 'field2', field3'])->table2.leftJoin('table2', '`table2`.`field1` = ` table`.`field3`')->
asArray ()->all()
If it helps to understand what I mean: before that there was an autocomplete - it pulls a very large data packet. Here it would be necessary to simplify this matter with Ajax.
Answer the question
In order to leave comments, you need to log in
We take Typeahead + Javascript, write our own handler, write our own action .. and there will be happiness ...
something like this ..
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question