Well i know that we can do this :
$form->add(new Select( "members" , Team::find() ,
[
'using' => ['uid','name'],
'class' => "form-control",
]));
BUT , when i use the Team::query() method , this does not work , and i tried to debug it with var_dump and the _rows is null on the query method , so how can i fix this ?