Tobi Wan
04/15/2023, 3:34 PM@formField('files', [
'name' => 'pdf_file',
'label' => 'File',
'itemLabel' => 'PDF File'
])
I added the HasFiles
and HandleFiles
traits to the model and repo.
The form shows up and I am able to upload the file but it won't "stick" when I press save. Any tips what else I should do?ifox
04/15/2023, 3:37 PMpublic $filesParams = ['pdf_file'];
ifox
04/15/2023, 3:38 PMifox
04/15/2023, 3:39 PMtwill.block_editor.files
Tobi Wan
04/15/2023, 3:40 PM