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

🐞 - Inputs with extends TuiControl has CD problems for writeValue of "empty" value #10202

Open
nsbarsukov opened this issue Jan 21, 2025 · 0 comments · May be fixed by #10220
Open

🐞 - Inputs with extends TuiControl has CD problems for writeValue of "empty" value #10202

nsbarsukov opened this issue Jan 21, 2025 · 0 comments · May be fixed by #10220
Assignees

Comments

@nsbarsukov
Copy link
Member

Reproduction url

https://stackblitz.com/edit/tui-control-cd-problems-with-writevalue

Description

<tui-textfield>
    <label tuiLabel>tuiTextfield</label>
    <input
        tuiTextfield
        [ngModel]="value"
    />
</tui-textfield>

<tui-textfield>
    <label tuiLabel>tuiInputNumber</label>
    <input
        tuiInputNumber
        [ngModel]="value"
    />
</tui-textfield>

<tui-textfield>
    <label tuiLabel>tuiInputPhoneInternational</label>
    <input
        tuiInputPhoneInternational
        [ngModel]="value?.toString() || ''"
    />
</tui-textfield>

<div (mouseenter)="value = 2">Hover me to set "2"</div>
<br />
<div (mouseenter)="value = 3">Hover me to set "3"</div>
<br />
<div (mouseenter)="value = null">Hover me to set "null"</div>
2025-01-21.12.04.07.mov

Relates:

Taiga UI version

4.21.0

Browser Used

Chrome

OS Used

macOS

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