How can i select an default option in the form generator ? value wont do anything .
$form->add(new Select("department", Departments::find(),[
'using' => ['_','department'],
'class' => "form-control",
'data-validate' => true,
'data-empty' => "* Campo Obrigatório",
'value' => $member->department_id
]));