Issue #125 resolved

Prepend/append for textareas

Anonymous created an issue

Could you add prepend/append to textareas? Prepend with textareas looks a bit odd, but append is perfectly fine. I added calls to getPrepend/getAppend in BootInputHorizontal/BootInputVertical textArea() code, and i use following css for that purpose: {{{

!css

.input-prepend textarea{ -webkit-border-radius: 0 3px 3px 3px; -moz-border-radius: 0 3px 3px 3px; border-radius: 0 3px 3px 3px; } .input-append textarea{ -webkit-border-radius: 3px 0 3px 3px; -moz-border-radius: 3px 0 3px 3px; border-radius: 3px 0 3px 3px; } .input-prepend.input-append textarea{ -webkit-border-radius: 0px 0 3px 3px; -moz-border-radius: 0px 0 3px 3px; border-radius: 0px 0 3px 3px; } }}}

Comments (4)

  1. Christoffer Niska repo owner

    I won't make this change because it's standard Bootstrap behavior but feel free to override the input classes if necessary. I've added a 'input' property to the active form which allows you to directly state which input class should be used.

  2. Log in to comment