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 - ExpressionChangedAfterItHasBeenCheckedError ошибка при работе с Input компонентами #1272

Closed
1 of 9 tasks
AleksandrSibiakov opened this issue Dec 28, 2023 · 4 comments · Fixed by #1630
Assignees
Labels
answer:research_need known_bug source:idp issue from IDP state:ready ready for release (pass tested) temp:ng100 type:bug Something isn't working
Milestone

Comments

@AleksandrSibiakov
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

Компонент

PrizmInputLayoutDateTimeComponent, PrizmInputLayoutDateTimeRangeComponent, PrizmInputLayoutTimeComponent,

Версия

Dependencies:

➜ npm ls @prizm-ui/components

@prizm-ui/components 3.8.0

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

image

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

На демо сайте, к примеру https://prizm.site/components/input-layout-date-time/Live_demo?tuiMode=null

Открыть консоль разработчика F12

переключить значение FormControl.disabled

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

При работе с дата-контролами (все не проверял, но с текстом все ок) наблюдаестя ошибка в консоли ExpressionChangedAfterItHasBeenCheckedError при переключении состояния связанного FormControl

Хоть эта ошибка и показывается только в приложениях работающих в dev режиме, но она свидетельствует о некорректно настроенном потоке управления состоянием.

@alexhawkins94 alexhawkins94 added type:bug Something isn't working known_bug labels Dec 28, 2023
@ickisIckis ickisIckis added this to the someday milestone Jan 31, 2024
@ickisIckis
Copy link
Collaborator

Ожидаем выхода Angular версии с поддержкой Signal Zone

@bumalai bumalai added the source:idp issue from IDP label Feb 20, 2024
@MrDywar
Copy link

MrDywar commented Feb 26, 2024

Тоже самое ловлю на prizm-input-layout внутри которого prizm-input-select меняет свой disabled.

@bumalai
Copy link
Contributor

bumalai commented Feb 27, 2024

Ошибка для всех input

  <prizm-input-layout label="Заголовок" size="l" status="danger">
    <input prizmInput value="Введенный текст" placeholder="Введите текст" />
  </prizm-input-layout>

Получить на выходе:

ERROR Error: NG0100: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value for 'disabled': 'undefined'.

@bumalai bumalai changed the title [BUG] @prizm-ui/components - ExpressionChangedAfterItHasBeenCheckedError ошибка при работе с Date-based компонентами [BUG] @prizm-ui/components - ExpressionChangedAfterItHasBeenCheckedError ошибка при работе с Input компонентами Feb 27, 2024
@ZurabDev ZurabDev modified the milestones: someday, 4.1.0 Mar 13, 2024
@ZurabDev ZurabDev modified the milestones: 4.1.0, 4.4.0, 4.3.0 Apr 19, 2024
@ZurabDev ZurabDev added the state:in_progress We work on this issue label Apr 19, 2024
@ZurabDev ZurabDev added state:ready ready for release (pass tested) and removed state:in_progress We work on this issue labels Apr 22, 2024
@bree7e
Copy link

bree7e commented Apr 24, 2024

ZMEB ждёт для Angular 16, особенно для multiselect

ZurabDev added a commit that referenced this issue May 7, 2024
fix: ng100 error for input and hint #461 #1471 #1272 #1091 #492, and fix tests with errors for resize observer #1631
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answer:research_need known_bug source:idp issue from IDP state:ready ready for release (pass tested) temp:ng100 type:bug Something isn't working
Projects
None yet
7 participants