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/components - Форма не утрачивает состояние "touched" после "reset" #114

Closed
1 of 7 tasks
ZyfraKonstantinKulik opened this issue Mar 29, 2023 · 0 comments
Assignees
Labels
state:ready ready for release (pass tested)
Milestone

Comments

@ZyfraKonstantinKulik
Copy link

Библиотека

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

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

Компонент

input-layout

Версия

Операционная ситема:

Windows 10, etc

Браузер:

Google Chrome Version 111.0.5563.146 (Official Build) (64-bit)

NodeJS:

➜ node --version
v16.15.1

Dependencies:

➜ npm ls @prizm-ui/zyfra-components

@prizm-ui/zyfra-components 0.1.1
➜ npm ls @angular/core

@prizm-ui/[email protected]
├─┬ @angular/[email protected]
│ └── @angular/[email protected] deduped
├─┬ @angular/[email protected]
│ └── @angular/[email protected] deduped
├─┬ @angular/[email protected]
│ └── @angular/[email protected] deduped
├── @angular/[email protected]
├─┬ @angular/[email protected]
│ └── @angular/[email protected] deduped
├─┬ @angular/[email protected]
│ └── @angular/[email protected] deduped
├─┬ @angular/[email protected]
│ └── @angular/[email protected] deduped
├─┬ @angular/[email protected]
│ └── @angular/[email protected] deduped
├─┬ @storybook/[email protected]
│ └── @angular/[email protected] deduped
├─┬ [email protected]
│ └── @angular/[email protected] deduped
└─┬ [email protected]
  └── @angular/[email protected] deduped


Проект в котором используется КБ

  • ЦИП: Энергоконтроль

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

image

Описание проблемы

К примеру, в форме есть контроллер с валидацией required. Если пользователь поставит фокус в этот контроллер, а после уберет, не оставив никаких данные появится индикация того, что input более не является валидным. Если после этого сделать форме reset() она, по идее переходит в изначальное состояние и все маркировки валидности должны пропасть, но они не пропадают.

@ZyfraKonstantinKulik ZyfraKonstantinKulik changed the title [BUG] prizm/components - Краткое описание проблемы [BUG] prizm/components - Форма не утрачивает состояние "touched" после "reset" Mar 29, 2023
@skkonstantin skkonstantin self-assigned this Apr 3, 2023
@ZurabDev ZurabDev added this to the 1.0.0-beta.30 milestone Apr 10, 2023
@ZurabDev ZurabDev added the state:ready ready for release (pass tested) label Apr 10, 2023
@ZurabDev ZurabDev closed this as completed May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:ready ready for release (pass tested)
Projects
None yet
Development

No branches or pull requests

3 participants