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

[Bug][DateInput] When shorter format is used it resets the rest of the values #2697

Open
Yanko-Georgiev opened this issue Nov 18, 2024 · 0 comments
Labels
Bug Item which indicates that something is not working KendoReact pkg:Dateinputs SEV: Medium

Comments

@Yanko-Georgiev
Copy link
Collaborator

Yanko-Georgiev commented Nov 18, 2024

I'm submitting a...

  • Bug report

Current behavior

When you type a new value in a DateInput with a shorter date format, the values not included in the format will reset.

Expected behavior

The DateInput should not interfere with the values that are not directly changed.

Minimal reproduction of the problem with instructions

  1. Open the following StackBlitz example: https://stackblitz.com/edit/react-93mgbl?file=app%2Fapp.tsx
  2. Set a different time through the input with the short format
  3. Notice it resets the values for date, hours, seconds, and milliseconds

Reported in: 1670697

Private issue: https://github.com/telerik/kendo-dateinputs-common/issues/35

@Yanko-Georgiev Yanko-Georgiev added Bug Item which indicates that something is not working KendoReact pkg:Dateinputs SEV: Medium labels Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Item which indicates that something is not working KendoReact pkg:Dateinputs SEV: Medium
Projects
None yet
Development

No branches or pull requests

1 participant