Skip to content

Commit 18028b2

Browse files
committed
fix(CFormInput): disabled and readonly props are not supported
1 parent 232babb commit 18028b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ const CFormInput = defineComponent({
6868
'input',
6969
{
7070
type: props.type,
71+
disabled: props.disabled,
72+
readonly: props.readonly,
7173
...attrs,
7274
class: [
7375
props.plainText ? 'form-control-plaintext' : 'form-control',

0 commit comments

Comments
 (0)