dcat中表单的select如何默认选中某个值呢?
如何默认选中星座呢?
$form->select("type")->options(array (
'education' => '学历',
'sports' => '运动爱好',
'marriage' => '婚姻状态',
'nationality' => '民族',
'constellation' => '星座',
'zodiac' => '生肖',
));
推荐文章: