Skip to content

Form textarea component // rows attribute doesn't work if set to 1  #4568

Closed
@Nincha

Description

@Nincha

Hi there,

Using the Form textarea component : https://bootstrap-vue.org/docs/components/form-textarea

When rows attribute is set to 1 like the following:

<b-form-textarea id="textarea" v-model="message" placeholder="..." rows="1" max-rows="3"></b-form-textarea>

It appears that the minimum of rows is 2 rows no matter what. I thought about what if it was intentionnal, but the way I see it using rows="1" is a simple way to simulate a single line input that would autosize if needed.

Or maybe did I miss something?

Cheers,
Charlie

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions