Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editing with an rel=edit and/or method=PUT should prefill the form with current model values #141

Open
yohcop opened this issue Jul 6, 2014 · 1 comment

Comments

@yohcop
Copy link

yohcop commented Jul 6, 2014

It would be nice if when I clicked on an edit link (defined with rel=edit or method=PUT), if the current object values would be pre-filled.

For example, let's assume I have user with name and age, and I only have a PUT method to edit it (in other words, no PATCH method for partial updates). That means that all the user info defined in the schema need to be sent to the server on every PUT request. If I only want to update the age field, I'd rather not type the name again.

Thanks!

@geraintluff
Copy link
Contributor

You're right, that should happen. I thought that was already in there, so I'll take a look...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants