Fixed #5711 - Calendar: name should be passed to the input if provided
parent
cb8964ff3a
commit
2c65a8d18f
|
@ -228,6 +228,10 @@ export default {
|
||||||
type: null,
|
type: null,
|
||||||
default: null
|
default: null
|
||||||
},
|
},
|
||||||
|
name: {
|
||||||
|
type: String,
|
||||||
|
default: null
|
||||||
|
},
|
||||||
ariaLabelledby: {
|
ariaLabelledby: {
|
||||||
type: String,
|
type: String,
|
||||||
default: null
|
default: null
|
||||||
|
|
|
@ -772,6 +772,10 @@ export interface CalendarProps {
|
||||||
* Used to pass all properties of the HTMLDivElement to the overlay panel inside the component.
|
* Used to pass all properties of the HTMLDivElement to the overlay panel inside the component.
|
||||||
*/
|
*/
|
||||||
panelProps?: HTMLAttributes | undefined;
|
panelProps?: HTMLAttributes | undefined;
|
||||||
|
/**
|
||||||
|
* Name of the element.
|
||||||
|
*/
|
||||||
|
name?: string | undefined;
|
||||||
/**
|
/**
|
||||||
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
v-if="!inline"
|
v-if="!inline"
|
||||||
:ref="inputRef"
|
:ref="inputRef"
|
||||||
:id="inputId"
|
:id="inputId"
|
||||||
|
:name="name"
|
||||||
type="text"
|
type="text"
|
||||||
role="combobox"
|
role="combobox"
|
||||||
:class="[cx('input'), inputClass]"
|
:class="[cx('input'), inputClass]"
|
||||||
|
|
Loading…
Reference in New Issue