Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Select Inline Laravel Package

ronnytorresmtz/select-inline

A Laravel package that adds an inline select field, letting users pick options directly within a table row or form instead of opening a separate dropdown page. Lightweight, simple to install, and easy to drop into existing Blade or Filament views.

View on GitHub
Deep Wiki
Context7

Getting Started

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.

Implementation Patterns

  • Use the package’s normal field definitions for required fields, and keep the package field configuration aligned with your Laravel validation rules.
  • For BelongsTo fields, submit the related model’s foreign key/ID rather than a nested object unless the package explicitly supports nested payloads.
  • Test both create and update flows. 422 issues often appear differently when a relationship is already set versus when it is being assigned for the first time.
  • Pair the package fields with a FormRequest so application-level validation remains explicit and debuggable.
  • If you expose an API, assert that required fields and relationship IDs are present in the JSON payload and return useful validation messages.
  • After upgrading, clear cached config/views/routes as appropriate for your deployment and re-run the failing form scenario.

Gotchas and Tips

  • 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.
  • Ensure the BelongsTo relationship method exists on the model, the foreign key column is present, and the submitted ID is valid if the relationship is required.
  • If the relationship is optional, make sure both the package field and validation rule allow null.
  • Check whether the form is sending the expected key name; a mismatch between the field name and validation rule is a common source of 422.
  • Debug with Laravel’s validation errors, request payload dump, and application logs before assuming the package is at fault.
  • Useful extension points are typically custom validation rules, custom field configuration, and overriding the form request/controller handling around the package.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log