Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File field is not working #6

Open
m-a-k-o opened this issue Feb 9, 2021 · 2 comments
Open

File field is not working #6

m-a-k-o opened this issue Feb 9, 2021 · 2 comments

Comments

@m-a-k-o
Copy link

m-a-k-o commented Feb 9, 2021

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"}]
@Tarpsvo
Copy link
Contributor

Tarpsvo commented Feb 9, 2021

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!

@m-a-k-o
Copy link
Author

m-a-k-o commented Feb 9, 2021

@Tarpsvo Thank you for fast reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants