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] @prizm-ui/components - InputLayoutDateTime валидация времени не всегда влияет на отображение контрола #1419

Closed
1 of 9 tasks
digital-plant-guard opened this issue Mar 4, 2024 · 4 comments
Assignees

Comments

@digital-plant-guard
Copy link
Contributor

Библиотека

Выберите нужное отметив галочку [x]

  • @prizm-ui/core
  • @prizm-ui/components
  • @prizm-ui/install
  • @prizm-ui/icons
  • @prizm-ui/flag-icons
  • @prizm-ui/theme
  • @prizm-ui/charts
  • @prizm-ui/ast
  • @prizm-ui/nx-plugin

Компонент

InputLayoutDateTime 4.0.0-next.2 , 3.11.0

https://prizm.site/components/input-layout-date-time
http://4.0.0-next.2.doc.prizm.site/components/input-layout-date-time

Скрин / Видео проблемы

date time validation issue

Воспроизведение проблемы

  • перейти на демо страницу к примеру с секундами https://prizm.site/components/input-layout-date-time#with-second
  • в поле времени ввести валидное значение, например 23:59:59
  • выделить 23 часа и заменить на не валидное значение, например 55

Фактический результат: визуально в контроле остается значение 55:59:59, хотя в самой модели контрола значение откатывается на валидные 23:59:59

Ожидаемый результат: визуальное значение в контроле меняется на 23:59:59

@MrDywar
Copy link

MrDywar commented Mar 27, 2024

Аналогичная ситуация с секундами.
Можно ввести значение "15.03.2022 23:99".
Для этого надо менять секунды на "99" два раза, первый раз они автоматически исправятся на "59" а второй раз уже останутся без изменений.

@ickisIckis
Copy link
Collaborator

@alexhawkins94, нужно проверить на версии 4.3.1.

@alexhawkins94
Copy link

could not reproduce

@digital-plant-guard
Copy link
Contributor Author

Больше не воспроизводится, спасибо!

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

No branches or pull requests

4 participants