fromholdio/silverstripe-gridfield-addnew-hasmany

Add new object to gridfield with has many relation based on lookup selection.

1.0.1 2023-05-31 09:38 UTC

This package is auto-updated.

Last update: 2024-11-30 02:21:03 UTC


README

Requirements: Silverstripe ^4 or ^5

Module adding functionality to Silverstripe grid fields. Adds a new button which triggers a modal, displaying a searchable list of objects.

User clicks on one of these to create a new object for the grid field with a has_many relationship setup with the object selected from the list.

Based on fromholdio/silverstripe-gridfield-addnew-manymanythrough with SS4 compat, otherwise inspired by sheadawson/silverstripe-quickaddnew.