Skip to content
BelongsToMany create / edit form component for Nova
Vue PHP JavaScript
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist handle long text for #15 Mar 5, 2019
resources/js handle long text for #15 Mar 5, 2019
routes Remove test route Feb 15, 2019
src Fix 404 while searching - return false Mar 11, 2019
.gitignore intial Feb 2, 2019
composer.json cleanup Feb 4, 2019 Update and rename LICENSE to Aug 24, 2019
package.json intial Feb 2, 2019 Update Aug 24, 2019
webpack.mix.js intial Feb 2, 2019

Nova Attach Many

Latest Version on Github Total Downloads Twitter Follow

Belongs To Many create & edit form UI for Nova. Enables attaching relationships easily and includes validation.



composer require dillingham/nova-attach-many


use NovaAttachMany\AttachMany;
public function fields(Request $request)
    return [


You can set min, max, size or custom rule objects

->rules('min:5', 'max:10', 'size:10', new CustomRule)


Here are a few customization options

  • ->showCounts() Shows "selected/total"
  • ->showPreview() Shows only selected
  • ->hideToolbar() Removes search & select all
  • ->height('500px') Set custom height
  • ->fullWidth() Set to full width
  • ->help('<b>Tip:</b> help text') Set the help text

All Options Demo


The attachable resources will be filtered by relatableQuery() So you can filter which resources are able to be attached


This field also respects policies: ie Role / Permission

  • RolePolicy: attachAnyPermission($user, $role)
  • RolePolicy: attachPermission($user, $role, $permission)
  • PermissionPolicy: viewAny($user)


[] Add pagination for large amount of resources


dkulyk helped with authorization

You can’t perform that action at this time.