Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Customize pk, name and value? #97

Closed
kretz opened this Issue · 2 comments

2 participants

@kretz

Hi,

I have a backend I cannot change. It needs different names of the parameters.

It is customizable so that (I'm reusing values from your documentation);

POST /post
{
username: 'superuser!',
id: 1
}

Thanks,
Martin

@vitalets
Owner

hi, yes - the solution is to use params defined as function:

editable({
...
params: function(params) {
    //params contains pk, name and value but you can overwrite it totally and return
}
@vitalets
Owner
@vitalets vitalets closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.