Fix bug where edit widget input-tag is empty (#4088)

This commit is contained in:
Simon Huber
2019-07-30 13:49:05 +01:00
committed by Jeremy Ruston
parent e669ec098f
commit 0a2d532a7b
+1 -1
View File
@@ -193,7 +193,7 @@ function editTextWidgetFactory(toolbarEngine,nonToolbarEngine) {
type = type || "text";
}
// Get the rest of our parameters
this.editTag = this.getAttribute("tag",tag);
this.editTag = this.getAttribute("tag",tag) || "input";
this.editType = this.getAttribute("type",type);
// Make the child widgets
this.makeChildWidgets();