supperAlien
- supperAlien 回复了 魔鬼 的回答
顶楼上的,也可以定制 template
checkbox(['template'=>"<div class=\"test\">{label}{input}{error}</div>"]);
@魔鬼 yii\grid\CheckboxColumn 怎么定制呢
yii\grid\CheckboxColumn 怎么定制呢
@魔鬼
如果该字段为必填项的话,第一次提交会报错(提示不能为空),这是为什么
- supperAlien 2016-12-13 已签到连续签到1天,获得了5个金钱
- supperAlien 回复了 chocoboxxf 的回答
$query ->where(['status' => 10]) ->andWhere(['NOT', ['type' => null]]) ->andWhere(['id' => [4, 8, 15]])
@╃巡洋艦㊣ 为什么在
andFilterWhere
之后却需要是->andFilterWhere(['NOT', ['type' => 'null']])
null必须加引号 - supperAlien 2016-10-26 已签到连续签到1天,获得了5个金钱
AppAsset::register($this);
这句是怎么引入资源的还是不懂