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

ng control status classes support for signal [control] field #64246

Open
@noguespi

Description

@noguespi

Which @angular/* package(s) are relevant/related to the feature request?

No response

Description

Does Angular plan to add support forcontrol status classes (.ng-invalid,.ng-dirty) etc. like it's already doing for [formControl] or [ngModel] ? At the moment it doesn't works with signal [control].

Proposed solution

N/A

Alternatives considered

It's quick to make a custom [control] directive which bind css classes according to the state of the signal control.

The problem with this solution is the custom directive must be imported each time along with signal [control], it's not automatic so it's easy to forgot to import the directive.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp