$options = array("否" =>"否","是"=>"是"); Form::Select("親子課程", "is_child", $options, ['required' => 1]); ``` redio 請用 Select 這種狀態,請將停用移至,第二個以後,否則索引,將變成中文 ``` $options = array("1"=>"啟用","0"=>"停用"); Form::Select("啟用狀態", "enable", $options, ['required' => 1]);//啟用 ```
$options = array("1"=>"啟用","0"=>"停用"); Form::Select("啟用狀態", "enable", $options, ['required' => 1]);//啟用 ```