Laravel Community Tools by Tighten
Laravel Nova icon Nova Packages
H

HasManyToModal

This package is possibly abandoned. Please proceed with care.

Installation Instructions

Nova-HasmanyToModal

Nova 4 Support

install

composer require ahmed-hussain/hasmany-to-modal

To create a modal for creating or viewing related HasMany records without leaving the index page

index

Create via Modal don't need leave index to create or view HasMany

create

Usage

    /**
     * The size of the modal. Can be "sm", "md", "lg", "xl", "2xl", "3xl", "4xl", "5xl", "6xl", "7xl", "full-screen".
     */

use AhmedHussain\HasmanyToModal\HasmanyToModal;

                    HasmanyToModal::make(__('Comments'), 'Comments', Comments::class)
                        ->perPage(50)//count rows show in index
                        ->modalSize('2xl'),

#for Full Screen
                    HasmanyToModal::make(__('Comments'), 'Comments', Comments::class)
                        ->perPage(50)
                        ->modalSize('full-screen'),

Readme

Readme not found. Refer to the project website: https://github.com/ahmed-m-hussain/Nova-HasmanyToModal

Screenshots

Back to Top
Added 1 year ago

This package should be on the Packagist API but we're not getting any results.

Please note that the Packagist cache is pretty long, so some times you just need to check back in an hour.

Favorites

0 users favorited

Rating

N/A
(out of 5)
★★★★★
★★★★
★★★
★★
0 ratings

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas