File tree Expand file tree Collapse file tree 4 files changed +4
-0
lines changed
packages/coreui-vue/src/components/form Expand file tree Collapse file tree 4 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,7 @@ const CFormInput = defineComponent({
171171 h (
172172 'input' ,
173173 {
174+ id : props . id ,
174175 ...attrs ,
175176 class : [
176177 props . plainText ? 'form-control-plaintext' : 'form-control' ,
Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ const CFormSelect = defineComponent({
165165 h (
166166 'select' ,
167167 {
168+ id : props . id ,
168169 ...attrs ,
169170 class : [
170171 'form-select' ,
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ const CFormSwitch = defineComponent({
9090 } ,
9191 [
9292 h ( 'input' , {
93+ id : props . id ,
9394 ...attrs ,
9495 ...( props . modelValue && { checked : props . modelValue } ) ,
9596 class : [
Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ const CFormTextarea = defineComponent({
140140 h (
141141 'textarea' ,
142142 {
143+ id : props . id ,
143144 ...attrs ,
144145 disabled : props . disabled ,
145146 readonly : props . readonly ,
You can’t perform that action at this time.
0 commit comments