Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date Time Picker Component behavior is broken #1870

Closed
PallaviGanorkar opened this issue Feb 14, 2023 · 3 comments · Fixed by #1871
Closed

Date Time Picker Component behavior is broken #1870

PallaviGanorkar opened this issue Feb 14, 2023 · 3 comments · Fixed by #1871
Assignees

Comments

@PallaviGanorkar
Copy link
Contributor

PallaviGanorkar commented Feb 14, 2023

Describe the bug
In catalog app, select date time picker component - there are 2 issue as broken behavior

  1. By default time input UI is enabled, which is expected to be enabled after entering Valid date
  2. Date format error is displayed, though user has entered valid date

Component
SDC library, SDC gallery app

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Catalog App, Date time picker component'
  2. See error 'By default time input UI is enabled'
  3. Enter 'Valid date in date input widget by text (without date picker)'
  4. See error "Date format needs to be MM/dd/yyyy (e.g. 01/31/2023)"

Expected behavior

  1. By default time widget should be disabled untill Valid date is entered
  2. Date format error should disappear on entering Valid date.

Screenshots
Videos are attached below

Smartphone (please complete the following information):

  • Device: Nexus 5X
  • Android version:API 24

Additional context
Add any other context about the problem here.

Would you like to work on the issue?
Please state if this issue should be assigned to you or who you think could help to solve this issue.

@PallaviGanorkar
Copy link
Contributor Author

1_ByDefaultTimeInputUIIsEnabled.webm

@PallaviGanorkar
Copy link
Contributor Author

2_InvalidDateFormatErrorIsDisplayed.webm

@PallaviGanorkar PallaviGanorkar changed the title Date Time Picker UI behavior is broken Date Time Picker Component behavior is broken Feb 14, 2023
@santosh-pingle santosh-pingle self-assigned this Feb 14, 2023
@santosh-pingle
Copy link
Collaborator

looking into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants