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
Laravel Nova Belongsto Dependency

Laravel Nova Belongsto Dependency Laravel Package

sanderbaas/laravel-nova-belongsto-dependency

A Laravel Nova field that makes BelongsTo selects depend on another field's value, enabling cascading dropdowns in Nova resources. Pick a parent option and the dependent BelongsTo field updates its available options to match.

View on GitHub
Deep Wiki
Context7

Laravel Nova BelongsTo Dependency is a custom Nova field that makes a BelongsTo relationship select dependent on the value of another field. When a parent field changes—such as selecting a country—the dependent BelongsTo options are filtered and reloaded automatically, so users only see relevant choices instead of the full list.

It integrates seamlessly into Nova resources through the familiar field API, handling the AJAX reload behind the scenes while preserving the selected value where appropriate.

  • Dependent selects driven by another field's value
  • Automatic option filtering and reload via AJAX
  • Works with standard Nova BelongsTo relationships
  • Simple, chainable field configuration
  • Improves form UX and prevents invalid selections
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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource