parent
6255856205
commit
7d8766d2b9
|
@ -60,7 +60,7 @@ function FramedEngine(options) {
|
||||||
this.domNode.value = this.value;
|
this.domNode.value = this.value;
|
||||||
}
|
}
|
||||||
// Set the attributes
|
// Set the attributes
|
||||||
if(this.widget.editType) {
|
if(this.widget.editType && this.widget.editTag !== "textarea")) {
|
||||||
this.domNode.setAttribute("type",this.widget.editType);
|
this.domNode.setAttribute("type",this.widget.editType);
|
||||||
}
|
}
|
||||||
if(this.widget.editPlaceholder) {
|
if(this.widget.editPlaceholder) {
|
||||||
|
|
|
@ -34,7 +34,7 @@ function SimpleEngine(options) {
|
||||||
this.domNode.value = this.value;
|
this.domNode.value = this.value;
|
||||||
}
|
}
|
||||||
// Set the attributes
|
// Set the attributes
|
||||||
if(this.widget.editType) {
|
if(this.widget.editType && this.widget.editTag !== "textarea") {
|
||||||
this.domNode.setAttribute("type",this.widget.editType);
|
this.domNode.setAttribute("type",this.widget.editType);
|
||||||
}
|
}
|
||||||
if(this.widget.editPlaceholder) {
|
if(this.widget.editPlaceholder) {
|
||||||
|
|
Loading…
Reference in New Issue