zul.inp.Textbox=zk.$extends(zul.inp.InputWidget,{_value:"",_rows:1,$define:{multiline:function(){this.rerender()},tabbable:null,rows:function(a){var b=this.getInputNode();b&&this.isMultiline()&&(b.rows=a)},type:11>zk.ie?function(){this.rerender()}:function(a){var b=this.getInputNode();b&&(b.type=a)},submitByEnter:null},textAttrs_:function(){var a=this.$supers("textAttrs_",arguments);this._multiline&&(a+=' rows="'+this._rows+'"');return a},doKeyDown_:function(a,b){13==a.keyCode&&this._submitByEnter&&
this._multiline&&!a.shiftKey&&(a.stop(),this.fire("onOK"));this.$supers("doKeyDown_",arguments)}});
