fix: Update the height of the input based on the rows (#8373)

This commit is contained in:
Pranav Raj S
2023-11-17 17:29:44 -08:00
committed by GitHub
parent f23e33c1a9
commit 2c5a0abcce
5 changed files with 9 additions and 2 deletions

View File

@@ -17,7 +17,7 @@
<resizable-text-area
v-else
v-model="greetingsMessage"
rows="4"
:rows="4"
type="text"
class="greetings--textarea"
:label="label"

View File

@@ -2,6 +2,7 @@
<textarea
ref="textarea"
:placeholder="placeholder"
:rows="rows"
:value="value"
@input="onInput"
@focus="onFocus"
@@ -36,6 +37,10 @@ export default {
type: String,
default: '',
},
rows: {
type: Number,
default: 2,
},
// add this as a prop, so that we won't have to include uiSettingsMixin
sendWithSignature: {
type: Boolean,