diff --git a/components/lib/calendar/BaseCalendar.vue b/components/lib/calendar/BaseCalendar.vue index 6b0e7940f..11235aa41 100644 --- a/components/lib/calendar/BaseCalendar.vue +++ b/components/lib/calendar/BaseCalendar.vue @@ -228,6 +228,10 @@ export default { type: null, default: null }, + name: { + type: String, + default: null + }, ariaLabelledby: { type: String, default: null diff --git a/components/lib/calendar/Calendar.d.ts b/components/lib/calendar/Calendar.d.ts index 85c7f02bb..78d5eb340 100755 --- a/components/lib/calendar/Calendar.d.ts +++ b/components/lib/calendar/Calendar.d.ts @@ -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. */ diff --git a/components/lib/calendar/Calendar.vue b/components/lib/calendar/Calendar.vue index 6e62ea665..9f2104153 100755 --- a/components/lib/calendar/Calendar.vue +++ b/components/lib/calendar/Calendar.vue @@ -4,6 +4,7 @@ v-if="!inline" :ref="inputRef" :id="inputId" + :name="name" type="text" role="combobox" :class="[cx('input'), inputClass]"