You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, this code, produces a problematic output:
form
.textarea()
.addAttr("align", "right")
.attrRows(50l)
.text("text")
.attrCols(50l)
.attrId("id")
.attrName("name")
.attrStyle(style)
.__();
<textarea align="right" rows="50">text cols="50" id="id" name="name" style="width: 89%; height: 77px;"
All I did was move the .text("text") up, and it made it outside of the textarea tag.
It happened with other properties like attrClass.
If it happens because text returns the parent element, maybe an exception should be thrown if I use attr after.
The text was updated successfully, but these errors were encountered:
This code, produces this nice output:
<textarea align="right" rows="50" cols="50" id="id" name="name" style="width: 89%; height: 77px;">form
.textarea()
.addAttr("align", "right")
.attrRows(50l)
.attrCols(50l)
.attrId("id")
.attrName("name")
.attrStyle(style)
.text("text")
.__();
However, this code, produces a problematic output:
form
.textarea()
.addAttr("align", "right")
.attrRows(50l)
.text("text")
.attrCols(50l)
.attrId("id")
.attrName("name")
.attrStyle(style)
.__();
<textarea align="right" rows="50">text cols="50" id="id" name="name" style="width: 89%; height: 77px;"
All I did was move the .text("text") up, and it made it outside of the textarea tag.
It happened with other properties like attrClass.
If it happens because text returns the parent element, maybe an exception should be thrown if I use attr after.
The text was updated successfully, but these errors were encountered: