Skip to content

How upload image #27

@dannying

Description

@dannying

How can I upload images ? I added the "picture" field. when I try to select an image and click on the save, I get the error Cannot read property 'name' of null.

 <ImageInput source="images" label="Related pictures" accept="image/*">
        <ImageField source="create.src" />
 </ImageInput>

my mutation arguments:
data: {name:"string", image: {create: src:"string"}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions