Skip to content

Resource Update doesn't work in VueJS client #214

@ruddygbaguidi

Description

@ruddygbaguidi

API Platform version(s) affected: x.y.z

Description

In a vuejs client, it's not possible to update a resource.

How to reproduce

Generate a vuejs client.
Edit a resource and try to update it.
There is an error because the body is empty.

Possible Solution

onSendForm() {
  this.update(this.retrieved);
},

instead of

onSendForm() {
  this.update();
},

Additional Context

Metadata

Metadata

Assignees

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