Nova-Filemanager icon indicating copy to clipboard operation
Nova-Filemanager copied to clipboard

Cannot select file when using on action field.

Open phuclh opened this issue 6 years ago • 3 comments

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.

phuclh avatar Aug 16 '19 23:08 phuclh

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

Krato avatar Aug 20 '19 07:08 Krato

@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.

phuclh avatar Aug 20 '19 22:08 phuclh

@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 :https://github.com/laravel/nova-issues/issues/1101

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

Thanks

Krato avatar Aug 21 '19 09:08 Krato