We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e1d05de + 1191ad2 commit 1d9d487Copy full SHA for 1d9d487
1 file changed
resources/js/components/RelationshipFormItem.vue
@@ -80,7 +80,7 @@
80
'attribute': (this.value[attrib].meta.component === "file-field") ?
81
attrib + '?' + this.id :
82
this.field.attribute + '_' + this.id + '_' + attrib, // This is needed to enable delete link for file without triggering duplicate id warning
83
- 'name': this.field.attribute + '[' + this.id + '][' + attrib + ']',
+ 'name': this.value[attrib].meta.singularLabel,
84
'deletable': this.modelId > 0, // Hide delete button if model Id is not present, i.e. new model
85
'attrib': attrib
86
}
0 commit comments