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 ) {
@@ -136,7 +136,9 @@ define([
136
136
cycles = 0 ;
137
137
138
138
while ( ~ tmpl . indexOf ( opener ) && ( typeof maxCycles === 'undefined' || cycles < maxCycles ) ) {
139
- tmpl = template ( tmpl , data ) ;
139
+ if ( ! isTmplIgnored ( tmpl ) ) {
140
+ tmpl = template ( tmpl , data ) ;
141
+ }
140
142
141
143
if ( tmpl === last ) {
142
144
break ;
You can’t perform that action at this time.
0 commit comments