Fixed #5711 - Calendar: name should be passed to the input if provided
parent
cb8964ff3a
commit
2c65a8d18f
|
@ -228,6 +228,10 @@ export default {
|
|||
type: null,
|
||||
default: null
|
||||
},
|
||||
name: {
|
||||
type: String,
|
||||
default: null
|
||||
},
|
||||
ariaLabelledby: {
|
||||
type: String,
|
||||
default: null
|
||||
|
|
|
@ -772,6 +772,10 @@ export interface CalendarProps {
|
|||
* Used to pass all properties of the HTMLDivElement to the overlay panel inside the component.
|
||||
*/
|
||||
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.
|
||||
*/
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
v-if="!inline"
|
||||
:ref="inputRef"
|
||||
:id="inputId"
|
||||
:name="name"
|
||||
type="text"
|
||||
role="combobox"
|
||||
:class="[cx('input'), inputClass]"
|
||||
|
|
Loading…
Reference in New Issue