Skip to content

Datepicker: Unable to enter date manually  #2285

Closed

Description

@selenka

When I click on Date input, I'm not able to enter date manually. Datepicker opens and forces me to select date.

It reproduces on this example https://react.lightningdesignsystem.com/components/date-pickers/

Activity

  1. welcome commented on Sep 5, 2019

    @welcome

    Thanks for opening your first issue! 👋
    If you have found this library helpful, please star it. A maintainer will try to respond within 7 days. If you haven’t heard anything by then, please bump this thread.

  2. apshada commented on Sep 17, 2019

    @apshada

    i would like to work on this!

  3. interactivellama commented on Sep 17, 2019

    @interactivellama
    Contributor

    @apshada Great! Here is the user story.

    User should be able to type a date when mouse clicking into input without calendar grabbing focus.

    Pattern update:

    • .focus of calendar should not occur on focus of input
    • Calendar should open on click of input, but NOT open when tabbing into input
    • Typing in input should close calendar
    • onBlur of input and input's Calendar icon should close calendar (I think Combobox has re-use).
    • onClick/enter on the input's calendar icon should open and .focus() on calendar (currently doing this)
    • Calendar date selection should close calendar (currently doing this)

    You can see this pattern here under Date Input:
    https://developer.salesforce.com/docs/component-library/bundle/lightning-input/example

    Adding @jcjuett for verification of the accessibility of the pattern proposal.

  4. apshada commented on Sep 24, 2019

    @apshada

    @jcjuett please verify the pull request for pattern proposal

  5. interactivellama commented on Sep 27, 2019

    @interactivellama
    Contributor

    @apshada Your PR is missing that the calendar should still open on click, but not grab focus. Please review the pattern update bullet points.

  6. BenjaminWFox commented on Nov 2, 2019

    @BenjaminWFox
    Contributor

    @interactivellama I added a commit to address this since the previous PR was closed. Please let me know if it needs any revisions.

  7. brahimkraiem commented on Oct 24, 2022

    @brahimkraiem

    Hello, anyone has resolved this feature ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions