Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hanneskuettner/directus-extension-inline-form-interface
An inline form interface for Directus that can be used to edit M2O relations without leaving their parent form
https://github.com/hanneskuettner/directus-extension-inline-form-interface
Last synced: 2 months ago
JSON representation
An inline form interface for Directus that can be used to edit M2O relations without leaving their parent form
- Host: GitHub
- URL: https://github.com/hanneskuettner/directus-extension-inline-form-interface
- Owner: hanneskuettner
- License: gpl-3.0
- Created: 2023-05-04T21:54:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-07T14:28:41.000Z (10 months ago)
- Last Synced: 2024-05-02T04:31:06.441Z (8 months ago)
- Language: TypeScript
- Homepage:
- Size: 229 KB
- Stars: 34
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-directus - Inline Form Interface - Edit M2O relations in an inline form contained in the parent record. (Extensions / Community)
README
# Directus Inline Form Interface
An inline form interface for Directus that allows editing of a related M2O collection
item within its parent's form.For more details as to why you would need this see these discussions in the Directus repository
[directus/directus#3474](https://github.com/directus/directus/discussions/3474) and
[directus/directus#18041](https://github.com/directus/directus/discussions/18041).
## Installation
Add `directus-extension-inline-form-interface` to your project:
```shell
# Using pnpm
pnpm add directus-extension-inline-form-interface
# Using yarn
yarn add directus-extension-inline-form-interface
# Using npm
npm install directus-extension-inline-form-interface
```## Usage
When creating a new M2O field you can select `Inline Form` in the `Relational` section.
Alternatively you can change the interface of an existing M2O field in the
`Interface` section.## Options
#### `Create Related Item`
Decide when an item should be created in the related collection.
You can choose between:
- `Only with Content`, which will only create a new item if *some* content is filled in the inline form, and
- `Always`, which will always create a new item, even if no content is filled in the inline form