Skip to content

Edit form and updates #5

@philyboysmith

Description

@philyboysmith

I'm having issues with the edit form, which may well be user error, but I could do with some advice. The show method on my API returns something like

{"data":{"type":"post","id":"1","attributes":{"title":"Magic"}}}

The only way I can get an Edit Form to work is by having fields like

<TextInput source="attributes.title" />

However, when I do that, submitted the form doesn't include any updated attributes. Any wisdom?

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