getgrav / getgrav/grav-plugin-admin

duplicate toggles on forms with multiple extends@ values

Open
#1,603 0 comments 0 reactions 1 assignee Claimed by @mahagr View on GitHub
question
Dominant language
PHP
Stars
377
Forks
225
Avg merge
11h 51m
Merged PRs (30d)
4

Description

i have a template form that i want to extend multiple other forms. so i referenced the forms to be extended to the its blueprint. i've done many variations — template3.yaml:
```yaml
extends@:
- template1
- template2
```
```yaml
extends@:
- type: template1
- type: template2
```
```yaml
extends@:
- type: template1
context: blueprints://pages
- type: template2
context: blueprints://pages
```
including also variations with `@extends`, `'@extends'`, and `'extends@'`. always with the same results. — the template3's toggles appear as many times as there are `extends@`.
screen shot 2019-01-29 at 18 56 13

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.