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

Cannot select file when using on action field. #73

Open
phuclh opened this issue Aug 16, 2019 · 3 comments
Open

Cannot select file when using on action field. #73

phuclh opened this issue Aug 16, 2019 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@phuclh
Copy link

phuclh commented Aug 16, 2019

When I using the field on action fields, something like that:

    /**
     * Get the fields available on the action.
     *
     * @return array
     */
    public function fields()
    {
        return [
            FilemanagerField::make('Image')
                ->displayAsImage()
                ->folder('Social Photos')
                ->filterBy('images')
                ->rules('required'),
        ];
    }

If you click to the file to select it, that will hide the action modal and doesn't fill the file name to the input value.

@Krato
Copy link
Collaborator

Krato commented Aug 20, 2019

Hello @phuclh. Are you using last version? I can't reproduce the error.

@phuclh
Copy link
Author

phuclh commented Aug 20, 2019

@Krato I am using 2.3. I just create a new action and put FilemanagerField into the field array, then run that action and select a file, but the modal will be closed.

@Krato
Copy link
Collaborator

Krato commented Aug 21, 2019

@phuclh Can you paste here your action? Thanks!

I just see the problem but no able to fix it. I try some things but no way to do it.

Just found a related issue :laravel/nova-issues#1101

If someone can let us know something, please comment here.

Thanks

@Krato Krato added the help wanted Extra attention is needed label Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants