I've digged a lot but still didn't found answer for my case. I have some model window, inside of it I have some textarea:
<div class="form-group">
<label for="groupDescription" class="col-sm-2 control-label">
Description: </label>
<div class="col-sm-10">
<form:textarea path="groupDescription" cssClass="form-control" />
<form:errors path="groupDescription" />
</div>
</div>
It automatically have the same width as input forms in this window, this is good. But! I can resize it, so it can be outside of modal window borders. How can I disable this width resizing? For length I would like to set some option like "length is 2 rows, but no more than 10 rows". Can you help? Also, can I do it without JavaScript? Thanks in advance! :)
P.S. Sorry, I've needed to edit title.