Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd91578c

Browse files
authored
Merge pull requestcoreui#208 from gfoidl/form_emit_id
Form components omit the id attribute
2 parentsa5c0ad5 +f5f4225 commitd91578c

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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',

‎packages/coreui-vue/src/components/form/CFormSelect.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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',

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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:[

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp