Loading core/modules/field_ui/field_ui.es6.js +5 −1 Original line number Diff line number Diff line Loading @@ -365,10 +365,14 @@ // disabled previously. Pseudo-fields do not have default formatters, // we just return to 'visible' for those. if (this.region === 'hidden') { const pluginSelect = typeof this.$pluginSelect.find('option')[0] !== 'undefined' ? this.$pluginSelect.find('option')[0].value : undefined; const value = typeof this.defaultPlugin !== 'undefined' ? this.defaultPlugin : this.$pluginSelect.find('option')[0].value; : pluginSelect; if (typeof value !== 'undefined') { if (this.$pluginSelect.length) { Loading core/modules/field_ui/field_ui.js +2 −1 Original line number Diff line number Diff line Loading @@ -150,7 +150,8 @@ this.$regionSelect[0].value = region; } if (this.region === 'hidden') { var value = typeof this.defaultPlugin !== 'undefined' ? this.defaultPlugin : this.$pluginSelect.find('option')[0].value; var pluginSelect = typeof this.$pluginSelect.find('option')[0] !== 'undefined' ? this.$pluginSelect.find('option')[0].value : undefined; var value = typeof this.defaultPlugin !== 'undefined' ? this.defaultPlugin : pluginSelect; if (typeof value !== 'undefined') { if (this.$pluginSelect.length) { this.$pluginSelect[0].value = value; Loading Loading
core/modules/field_ui/field_ui.es6.js +5 −1 Original line number Diff line number Diff line Loading @@ -365,10 +365,14 @@ // disabled previously. Pseudo-fields do not have default formatters, // we just return to 'visible' for those. if (this.region === 'hidden') { const pluginSelect = typeof this.$pluginSelect.find('option')[0] !== 'undefined' ? this.$pluginSelect.find('option')[0].value : undefined; const value = typeof this.defaultPlugin !== 'undefined' ? this.defaultPlugin : this.$pluginSelect.find('option')[0].value; : pluginSelect; if (typeof value !== 'undefined') { if (this.$pluginSelect.length) { Loading
core/modules/field_ui/field_ui.js +2 −1 Original line number Diff line number Diff line Loading @@ -150,7 +150,8 @@ this.$regionSelect[0].value = region; } if (this.region === 'hidden') { var value = typeof this.defaultPlugin !== 'undefined' ? this.defaultPlugin : this.$pluginSelect.find('option')[0].value; var pluginSelect = typeof this.$pluginSelect.find('option')[0] !== 'undefined' ? this.$pluginSelect.find('option')[0].value : undefined; var value = typeof this.defaultPlugin !== 'undefined' ? this.defaultPlugin : pluginSelect; if (typeof value !== 'undefined') { if (this.$pluginSelect.length) { this.$pluginSelect[0].value = value; Loading