Skip to content

Please improve types of ariaLabels prop #1085

Closed
@mkeyy0

Description

@mkeyy0

Describe the bug
According to the documentation and implementation, some aria labels can be omitted. The default will be used if no aria label is provided for specific cases. But in the current implementation, the date-picker component doesn't allow to pass individual aria-labels based on the type definitions

To Reproduce
Pass any optional aria label. For example, amPmButton and see the error

Expected behavior
Allow to omit some of aria label definitions on the type level

Screenshots

Image

Package versions:
TypeScript version: 5.6
Vue version: 3.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions