outl1ne/nova-simple-repeatable

File field is not working

m-a-k-o opened this issue · 2 comments

When I try to save File, file is not saved.

            SimpleRepeatable::make('Súbory na stiahnutie', 'downloads', [
                Text::make('Názov', 'name')
                    ->rules(['required']),
                File::make('Súbor', 'file'),
            ]),
[{"file": [], "name": "Test"}]

Hi! Supporting the File field is not an easy task due to the way Nova has implemented it and we're not currently planning on it. However, you're welcome to submit a PR to add support for it!

@Tarpsvo Thank you for fast reply!