[3.0.0-rc4] - How to show current value in a select form field
Currently I have my select field defined as:
The field is showing up and the selected value gets correctly saved to the database.
Also when i click Update while on the page itself in the backend the selected value is showing in the field correctly.
But when I close the page and reopen it in the backend the current value is not showing up.
Thanks for any help or guidance
https://twill.io/docs/3.x/form-fields/select.html
@formField('select', [
'name' => 'work_year',
'label' => 'Year',
'options' => range(date('Y'),1950),
])The field is showing up and the selected value gets correctly saved to the database.
Also when i click Update while on the page itself in the backend the selected value is showing in the field correctly.
But when I close the page and reopen it in the backend the current value is not showing up.
Thanks for any help or guidance
https://twill.io/docs/3.x/form-fields/select.html