mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-02-08 23:57:37 +01:00
Better support for array field into list field
# Conflicts: # CHANGELOG.md
This commit is contained in:
@@ -173,7 +173,7 @@ export default class CollectionsField {
|
||||
|
||||
item.attr('data-collection-key', hasCustomKey ? observedValue : index);
|
||||
|
||||
['name', 'data-grav-field-name', 'for', 'id', 'data-grav-file-settings'].forEach((prop) => {
|
||||
['name', 'data-grav-field-name', 'for', 'id', 'data-grav-file-settings', 'data-grav-array-name'].forEach((prop) => {
|
||||
item.find('[' + prop + '], [_' + prop + ']').each(function() {
|
||||
let element = $(this);
|
||||
let indexes = [];
|
||||
|
||||
2
themes/grav/js/admin.min.js
vendored
2
themes/grav/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user