Commit 97c262d
committed
feat: Add fieldtype icon fix and smart field auto-discovery in config panel
- Fix fieldtype icon not rendering in blueprint editor by using the
correct 'fieldtype-entries' icon identifier
- Add a new ReverseRelationshipFieldSelect hidden fieldtype and Vue
component that auto-discovers relationship fields from the selected
collection/taxonomy/container via a CP API endpoint
- The field selector polls for sibling config changes so switching
collections instantly refreshes the available fields
- Auto-selects the field handle when only one relationship field exists
- Update README credits1 parent b030ce2 commit 97c262d
13 files changed
Lines changed: 257 additions & 359 deletions
File tree
- resources
- dist/build
- assets
- js
- components/fieldtypes
- routes
- src
- Fieldtypes
- Http/Controllers
- tests
- Unit
- __fixtures__/content/collections/pages
Large diffs are not rendered by default.
This file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| 6 | + | |
5 | 7 | | |
0 commit comments