mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 13:02:24 +08:00
Update input-forms.md (#13292) [skip ci]
This commit is contained in:
committed by
Alexander Makarov
parent
076661c390
commit
b62edcb78d
@ -141,6 +141,7 @@ $items = [
|
|||||||
```
|
```
|
||||||
|
|
||||||
or by retrieval from the DB:
|
or by retrieval from the DB:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$items = Category::find()
|
$items = Category::find()
|
||||||
->select(['id', 'label'])
|
->select(['id', 'label'])
|
||||||
|
|||||||
Reference in New Issue
Block a user