Skip to content

Date Picker Combobox Example: Cancel Button doesn't undo keyboard selected (spacebar) date #3427

@amalyah

Description

@amalyah

On the Date Picker Combobox Example page, the keyboard control description does not match the behavior I'm seeing in the coded example. From the Date Picker Dialog: OK and Cancel Buttons docs I would expect that selecting clicking or using Space/Enter with the keyboard on the Cancel button should remove any updated combobox value for while that picker was open, even if another date was selected by keyboard control (focused on and press Space so the picker doesn't close). Instead, when I select a date using the Spacebar on the keyboard the combobox value updates, but it doesn't revert to the previously selected date if the user clicks or tabs+Space/Enter to trigger the Cancel button afterwards. Am I misreading the expected behavior for that context?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions