Skip to content

Upload file doesnt seems to work #24

@lsv

Description

@lsv

If your addDependent field have a FileType::class the model behind will stay as null, and not have a UploadedFile.

I tried to add enctype: multipart/form-data to form attributes, like this

{{ form_start(form, {
        attr: {
            'data-action': 'live#action:prevent',
            'data-live-action-param': 'save',
            'enctype': 'multipart/form-data',
        }
    }) }}

But that didnt do the trick.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions