Upgrade to 0.0.4 first if you are using required fields or BelongsTo form fields; this release specifically fixes 422 validation failures in those cases. Start by checking the package README for form/field configuration, then locate the form request or controller action that handles create/update. A good first use case is a simple create form with one required text field and one BelongsTo select, submitted through the normal Laravel request flow.
No breaking changes or deprecations are indicated by the 0.0.4 release notes.
BelongsTo fields, submit the related model’s foreign key/ID rather than a nested object unless the package explicitly supports nested payloads.422 issues often appear differently when a relationship is already set versus when it is being assigned for the first time.FormRequest so application-level validation remains explicit and debuggable.0.0.4 fixes the reported 422 issue for required and BelongsTo fields, but 422 responses can still come from your own validation rules, missing foreign keys, incorrect field names, or CSRF/session issues.BelongsTo relationship method exists on the model, the foreign key column is present, and the submitted ID is valid if the relationship is required.null.422.How can I help you explore Laravel packages today?