Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

InputItem does not reflect dynamic enable/disable state from Angular form controls #903

Open
@jirigalis

Description

@jirigalis

Version

10.0.0

Environment

public library

Reproduction link

https://stackblitz.com/edit/angular-lnnrzplq?file=src%2Fapp%2Fapp.component.ts
(reactive + template-driven form using<InputItem>)

Steps to reproduce

  1. Initialize a form with InputItem components using either [formControl], formControlName, or [(ngModel)] and set them to disabled: true
  2. Add a button that calls form.enable() or changes [disabled] to false
  3. Click the “Enable Form” button

What is expected?

Input fields become interactive — the user can focus and enter values. The numeric keyboard is displayed automatically after focus.
Labels and UI reflect the enabled state.

What is actually happening?

The label appears enabled (visually), but the underlying input remains disabled and does not allow interaction. No keyboard invoked.
This happens regardless of form binding strategy (formControlName, [formControl], or [(ngModel)]).
It seems the support of this behavior incustom-input component might be missing.

Other?

  • Confirmed on Chrome, Firefox, and Safari
  • Angular form control status changes correctly (confirmed via console.log), but the view does not reflect it
  • Tested also with manual ChangeDetectorRef and [disabled]="form.get('control')?.disabled" — no success
  • This affects dynamic form state management, which is critical for Angular reactive forms usage

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp