markrassamni / inline-boolean

Adds the ability to edit a boolean field directly from the index or detail page of a resource.
16 stars 15 forks source link

Inline update fails 422 #8

Open keizah7 opened 3 years ago

keizah7 commented 3 years ago

Inline update fails if resource has other columns with validation. 422 image

msassa commented 3 years ago

I have the same issue ... any solution?

keizah7 commented 3 years ago

Also update somehow detaches other relations

timkerr222 commented 3 years ago

?

timkerr222 commented 3 years ago

ANy update?

yapsr commented 1 year ago

When clicking the inline-boolean in Nova 3, the HTTP POST request to the nova-api/ path only contains the name and value of the inline-boolean (and the request method). Nova updates the inline-boolean field, but sets other field values to null! (Except fields that are readonly, those are ignored.)

It seems that Nova expects all field values in the HTTP POST request.