nova-attach-many icon indicating copy to clipboard operation
nova-attach-many copied to clipboard

BelongsToMany create / edit form component for Nova

Results 21 nova-attach-many issues
Sort by recently updated
recently updated
newest added

Something changed in Nova 4 that breaks a lot of Tailwind classes. Basically, any class that is not used somewhere in Nova v4 won't be available inside 3rd party fields,...

Well, I make attach many fields in Nova 4 with Polymorphic relationship but isn't showing up. in the latest commit mention that the package is support nova 4 but isn't...

Add an additional parameter to support pivot https://laravel.com/docs/9.x/eloquent-relationships#syncing-associations

Use relatedKey instead of getKey in order to manage not-standard belongsTomany

The original AttachController did not pass the 3rd `$field` param to Dynamic Relatable Methods See: https://nova.laravel.com/docs/3.0/resources/authorization.html#dynamic-relatable-methods

I couldn't attach default values to form. So, I had overwritten the package and added the small code, and it started taking default values on creation. Now when I provide...

Currently if you do `AttachMany::make('Permissions')->defaults([1,2,3])` defaults is just ignored, this PR fixes this. Fixes #90

This means we don't assume relateableQuery() (or other) returns the query eg. ``` public static function relatableQuery(NovaRequest $request, $query) { $query->whereEnabled(); } ```

Hi Brian, I'm pretty new when it comes to creating pull requests, and I don't thoroughly understand your (and Nova's) codebase, but I hope this Pull Request will at least...