Skip to content

Commit 3c4ba81

Browse files
committed
fix(Forms): textarea is not textarea closes coreui#161 - thanks @l2aelba
1 parent 38fbae5 commit 3c4ba81

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/views/base/Forms.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
label-for="basicTextarea"
153153
:label-cols="3"
154154
>
155-
<b-form-input id="basicTextarea" :textarea="true" :rows="9" placeholder="Content.."></b-form-input>
155+
<b-form-textarea id="basicTextarea" :rows="9" placeholder="Content.."></b-form-textarea>
156156
</b-form-group>
157157
<b-form-group
158158
label="Select"

tests/unit/views/base/__snapshots__/Forms.spec.js.snap

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -450,13 +450,12 @@ exports[`Forms.vue renders correctly 1`] = `
450450
labelcols="3"
451451
labelfor="basicTextarea"
452452
>
453-
<b-form-input-stub
453+
<b-form-textarea-stub
454454
id="basicTextarea"
455455
placeholder="Content.."
456456
rows="9"
457-
textarea="true"
458-
type="text"
459457
value=""
458+
wrap="soft"
460459
/>
461460
</b-form-group-stub>
462461

0 commit comments

Comments
 (0)