Closed DODMax closed 2 years ago
I have an InlineSelect on an index that is displayed on the details screen of a resource (so the inline select is on a relationship) and I get a code 422 when submitting.
Nova v4.18.2
Turns out any field required needs to have ->updateRules('sometimes') as already mentioned in the doc here.
->updateRules('sometimes')
If you're like me make sure to inspect the XHR response in dev tools to see which fields might be causing the issue.
I have an InlineSelect on an index that is displayed on the details screen of a resource (so the inline select is on a relationship) and I get a code 422 when submitting.
Nova v4.18.2