Skip to content

Commit

Permalink
Add a vido to the showcase.
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Rainville authored Aug 10, 2023
1 parent a1cfab7 commit 8c3d731
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

This module provides two simple form fields to manage has-one and has-many relations for a parent record.

`AnyField` and `ManyAnyField` are best suited to managing simple DataObjects that are tightly coupled to their owner.
`AnyField` and `ManyAnyField` are best suited to managing simple DataObjects that are tightly coupled to their owner. This module will not work well for DataObjects with complex relations.

This module will not work well for DataObjects with complex relations.
[`silverstripe/linkfield`](https://github.com/silverstripe/silverstripe-linkfield) is a great complement to the `AnyField`.

## Installation

Expand All @@ -14,6 +14,13 @@ composer require maxime-rainville/anyfield

This module require Silverstripe CMS 5 or greater.

## Showcase
[Quick demo](https://github.com/maxime-rainville/silverstripe-anyfield/assets/1168676/659933d6-15cd-45df-a454-b08c4d957e9f)

- Manage `has_one` or `has_many` relations with ease
- Manage multiple Dataobject classes from a single field
- Allow your content authors to edit your child DataObjects from a modal within their parent page

## Sample usage

```php
Expand Down

0 comments on commit 8c3d731

Please sign in to comment.