Alex
Alex
Can you show your table schema including relations as the error is in the section that builds relations.
@samdark I can do a PR for this but wondering which way is preferable? An option to disable the `Tabs::activateFirstVisibleTab` method or if the items use `url`'s then let `Nav`...
@simialbi This is the way it works currently but if you try to activate a tab using the route you get multiple tabs activated.
Most encoders have a push button so that could be used too. My couple Q's How would you select a loco? Would that require an LCD or some display? Something...
These parts are relatively cheap, https://thepihut.com/products/mcp23017-io-expansion-board https://thepihut.com/products/rgb-16x2-i2c-lcd-display-3-3v-5v The io board should be able to handle an encoder and a keypad.
This is already possible using an `Expression` ``` php ->select(['c' => new \yii\db\Expression("CASE WHEN 1>0 THEN 'true' ELSE 'false' END")])-> ```
Probably need support for params too Either in the method or as a separate one. ``` php $case = new \yii\db\Case() ->when('lead.status IS NULL || lead.status = :param', [':param' =>...
That's true, but it would keep it self contained and reusable in more than one query, similar to how `Expression` is.
How would this work if you have a custom `ActiveQuery` that uses `addSelect`? ```php class TestAR extends ActiveRecord { public static function find() { return new TestQuery(get_called_class()); } } class...
```php $query = TestAR::find(); if ($myCondition) { $query->select('foo') } $query->test()->all(); ``` If the behavior does change I just think it needs to be well noted. To me with the above...