by dillingham

dillingham / nova-attach-many

BelongsToMany create / edit form component for Nova

147 Stars 46 Forks Last release: over 1 year ago (1.0.11) MIT License 48 Commits 12 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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('Tip: 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)


Hi ๐Ÿ‘‹, Im Brian D. I created this Nova package and others

Hope you find it useful. Feel free to reach out with feedback.

Follow me on twitter: @imbriand

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.