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

402 Error when other fields have ->rules('required') #4

Open rayleroux opened 4 years ago

rayleroux commented 4 years ago

When ticking in-line, Nova throws a 402 exception if any other fields in the Nova Model have a required rule.

I suspect when in-line ticking, the POSTing to /{resource}/{resource id} requires all required fields in the form data or Nova's Validator will throw the 402 exception.

vesper8 commented 3 years ago

Is there a way around this?

nikans commented 3 years ago

Pretty critical