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

Select is marked as dirty when initialized with value #132

Closed
AleksandrSibiakov opened this issue Apr 6, 2023 · 0 comments
Closed

Select is marked as dirty when initialized with value #132

AleksandrSibiakov opened this issue Apr 6, 2023 · 0 comments
Assignees
Labels
devOnly state:ready ready for release (pass tested)
Milestone

Comments

@AleksandrSibiakov
Copy link
Contributor

В последней версии (1.0.0-beta.28) селект при инициализации помечен ng-dirty

http://doc.prizm.zyfra.com/components/dropdowns/select#with-object - в этом примере если посмотреть на <prizm-select> элемент, у него в классах есть ng-dirty.

Ожидаемое поведение
Форм контролы должны оставаться pristine/dirty если не было получено пользовательского ввода, или контролы явно помечены как dirty через ngControl.markAsDirty().

@ZurabDev ZurabDev self-assigned this Apr 6, 2023
@ZurabDev ZurabDev added state:ready ready for release (pass tested) devOnly labels Apr 7, 2023
@ZurabDev ZurabDev added this to the 1.0.0-beta.29 milestone Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devOnly state:ready ready for release (pass tested)
Projects
None yet
Development

No branches or pull requests

2 participants