pass name attribute in select

pull/7314/head^2
navedqb 2025-02-25 11:22:03 +05:30 committed by GitHub
parent 1cd2eb4f15
commit c5a0156585
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@
<input <input
v-if="editable" v-if="editable"
ref="focusInput" ref="focusInput"
:name="name"
:id="labelId || inputId" :id="labelId || inputId"
type="text" type="text"
:class="[cx('label'), inputClass, labelClass]" :class="[cx('label'), inputClass, labelClass]"
@ -29,6 +30,7 @@
<span <span
v-else v-else
ref="focusInput" ref="focusInput"
:name="name"
:id="labelId || inputId" :id="labelId || inputId"
:class="[cx('label'), inputClass, labelClass]" :class="[cx('label'), inputClass, labelClass]"
:style="[inputStyle, labelStyle]" :style="[inputStyle, labelStyle]"