Open deea0911 opened 6 years ago
So you want to check ALL data by default? Not a given liste of ids?
I think it's even better to check a list of ids because I can send all the ids if I want to in order to check them all , or just check some of them.
For example I have 'activityData' => new \luya\cms\injectors\ActiveQueryCheckboxInjector([ 'query' => Activity::find()->where(['=', 'hidden', 0]), 'label' => 'title', 'type' => self::INJECTOR_VAR, 'varLabel' => 'Select Activity', // The Block form label ]), And now it shows me all the data but unchecked ,can we have an option in case I want all the data checked by default ?