Skip to content

Commit 29a4e8d

Browse files
committed
MAGETWO-89942: Button_link field does not load on Button saved in empty state
- fix to check if value is not empty
1 parent f4e0d7f commit 29a4e8d

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Ui/view/base/web/js/form/element

1 file changed

+1
-1
lines changed

app/code/Magento/Ui/view/base/web/js/form/element/url-input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ define([
133133
createChildUrlInputComponent: function (value) {
134134
var elementConfig;
135135

136-
if (_.isUndefined(this.linkedElementInstances[value])) {
136+
if (!_.isEmpty(value) && _.isUndefined(this.linkedElementInstances[value])) {
137137
elementConfig = this.urlTypes[value];
138138
layout([elementConfig]);
139139
this.linkedElementInstances[value] = this.requestModule(elementConfig.name);

0 commit comments

Comments
 (0)