[3.0.0-rc4] - How to show current value in a select form field
Currently I have my select field defined as:
@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.htmlI
ifox•407d ago
Hi @undersound interesting. Do you have any model accessor on that work_year column, potentially?
U
undersound•402d ago
hi @ifox.dev , sorry for late reply....testing this currently. I don't have any model accessor on that column
1.4KMembers
View on DiscordWant results from more Discord servers?
More Posts[3.0.0-rc4] Images not found on remote server - League\\Glide\\Filesystem\\FileNotFoundExceptionI just went from my local to my remote server and some images are showing up others are getting a 5[Twill2] Do settings section support media and how?As title says, is it possible to inject media here or should I make a custom settings singleton to h[3.x.dev] Call to undefined method ReflectionUnionType::getName()Newbie to Twill here.
Fresh install of Laravel 10.4.1 / PHP 8.2.4 / MYSQL 8.0.32 on Ubuntu Budgie 2Add custom icons into twillI add the icons into the path `resource/views/admin/icons` and I run the command, result is ok, but Select an another block in a block?Hi everyone,
I have a function to create a new block with name "Columns block". With this block, usMedia Library / Glide only loading JPEGsHey there,
So I had a Laravel/Twill app running successfully on a subdomain with no issue.
Today I