We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da110aa commit 34d92b2Copy full SHA for 34d92b2
src/field-list/type-list.js
@@ -81,6 +81,7 @@ var TypeListItem = View.extend(tooltipMixin, {
81
}
82
},
83
events: {
84
+ 'click .schema-field-type-document': 'documentTypeClicked',
85
'click .schema-field-wrapper': 'typeClicked'
86
87
subviews: {
@@ -97,6 +98,10 @@ var TypeListItem = View.extend(tooltipMixin, {
97
98
99
100
101
+ documentTypeClicked: function(evt) {
102
+ // expands the nested subdocument fields by triggering click in FieldView
103
+ this.parent.parent.click();
104
+ },
105
typeClicked: function(evt) {
106
evt.stopPropagation();
107
0 commit comments