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
Nova Multiselect Field

Nova Multiselect Field Laravel Package

marshmallow/nova-multiselect-field

A Laravel Nova field that lets you attach multiple selectable options to a resource in one clean input, with searchable choices and a simple API for defining options and storing selected values as arrays.

View on GitHub
Deep Wiki
Context7

A Laravel Nova package that adds a multiselect to Nova's arsenal of fields.

Frequently asked questions about Nova Multiselect Field
What does the marshmallow/nova-multiselect-field package do?
It is a Laravel Nova field that lets you attach multiple selectable options to a resource through a single, clean input. The component provides searchable choices and a simple PHP API for defining the available options. Selected values are stored as arrays rather than a single scalar value.
How do I install the multiselect field in my Laravel Nova application?
Installation is a single composer require for marshmallow/nova-multiselect-field. You then register the field with one line inside your Resource::fields() method or in NovaServiceProvider::fields(). The compiled Vue component is loaded by Nova's asset pipeline, so no manual asset publishing step is documented for basic use.
Which Laravel Nova versions does this multiselect field support?
Nova 3 runs on Vue 2 while Nova 4 and Nova 5 use Vue 3, and the two field toolchains are not compatible, so a single compiled component rarely spans both. Check the composer.json constraint for nova in the repository to see exactly which majors are declared. If Nova 5 is not listed, assume it is unsupported and validate in staging before relying on it.
How are the selected multiselect values stored in the database?
The overview describes the field as storing selected values as arrays, which typically maps to a JSON column or a cast array attribute on the Eloquent model. Multiselect semantics can also be modelled as a pivot table or a serialized string, so confirm the storage contract before committing. Changing the storage model later is a data migration, not a configuration change.
Does this field sync BelongsToMany relationships out of the box?
The package is presented as a field that stores arrays, not as a relationship sync tool, and the available documentation does not describe BelongsToMany sync behavior. If you need pivot-table persistence with attach and detach semantics, verify the feature in the source or plan to handle the relationship yourself. Treating it as a JSON-backed field is the safer assumption.
Are the multiselect options searchable when there are many choices?
The field advertises searchable choices, so developers can filter the option list inside the input. What is not documented is whether search and pagination happen server-side or whether every option is loaded into the Vue component. With very large option sets, test the rendering and memory behavior in a realistic environment first.
Does the field support validation rules and dependsOn reactive behavior?
Nova fields are typically validated through the rules() method on the field class, but this package's documentation does not explicitly confirm server-side rule support. Reactive dependsOn behavior is also undocumented in the overview. Confirm both in the source before relying on them for required selections or conditional display.
Is this Laravel Nova package actively maintained and tested?
The repository shows a recent December 2025 release, which suggests the maintainer is currently active rather than dormant. However, adoption signals are very low with no dependents to surface bugs early, and there is no visible test coverage or CI described. For a field that persists related data, absent tests mean failures could appear as silent data loss rather than a visible crash.
What are the alternatives to using this package for multiselect in Nova?
You can use Nova's built-in BelongsToMany field for pivot-backed multi-selection, or a JSON column with a cast array and a custom Vue field. Building your own field removes the third-party maintenance and Nova version coupling risk but requires Vue work. This package is essentially a narrow UI convenience on top of those approaches.
Can I fork the package or rebuild its Vue assets if it breaks?
The package is MIT licensed, so forking and vendoring the field is legally straightforward and is the main safety net given a single-maintainer bus factor. The catch is that forking converts a dependency into an owned artifact with ongoing maintenance cost. Pin the exact package version and Nova major in composer.json so unexpected upgrades cannot break the field silently.
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.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo