File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
app/code/Magento/Ui/view/base/web/js/grid/editing Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -134,11 +134,6 @@ define([
134
134
135
135
field = utils . extend ( { } , fields . base , field ) ;
136
136
137
- field . __disableTmpl = {
138
- label : true ,
139
- options : true
140
- } ;
141
-
142
137
return utils . template ( field , {
143
138
record : this ,
144
139
column : column
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ define([
40
40
* To limit recursion for a specific property add __disableTmpl: {propertyName: numberOfCycles}.
41
41
*
42
42
* @param {String } tmpl
43
- * @param {Object } target
43
+ * @param {Object|undefined } target
44
44
* @returns {Boolean|Object }
45
45
*/
46
46
function isTmplIgnored ( tmpl , target ) {
@@ -131,7 +131,9 @@ define([
131
131
cycles = 0 ;
132
132
133
133
while ( ~ tmpl . indexOf ( opener ) && ( typeof maxCycles === 'undefined' || cycles < maxCycles ) ) {
134
- tmpl = template ( tmpl , data ) ;
134
+ if ( ! isTmplIgnored ( tmpl ) ) {
135
+ tmpl = template ( tmpl , data ) ;
136
+ }
135
137
136
138
if ( tmpl === last ) {
137
139
break ;
You can’t perform that action at this time.
0 commit comments