Skip to content

Commit 54373f1

Browse files
committed
fix(CFormSwitch, CFormTextarea): class attribute values are not combining
1 parent 26ff135 commit 54373f1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/coreui-vue/src/components/form/CFormSwitch.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ const CFormSwitch = defineComponent({
9494
'is-invalid': props.invalid,
9595
'is-valid': props.valid,
9696
},
97+
attrs.class,
9798
],
9899
id: props.id,
99100
onChange: (event: InputEvent) => handleChange(event),

packages/coreui-vue/src/components/form/CFormTextarea.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ const CFormTextarea = defineComponent({
133133
'is-invalid': props.invalid,
134134
'is-valid': props.valid,
135135
},
136+
attrs.class,
136137
],
137138
onChange: (event: InputEvent) => handleChange(event),
138139
onInput: (event: InputEvent) => handleInput(event),

0 commit comments

Comments
 (0)