Skip to content

Importing and applying MatInput somehow disables an extended diagnostic on an unrelated signal #63739

Closed

Description

@jpike88

Which @angular/* package(s) are the source of the bug?

language-service

Is this a regression?

No

Description

Running ng new my-minimal-app --minimal for a simple setup I was quickly able to reproduce this issue.

before, extended diagnostic shows correctly:
Image

after, added MatInput, and a text area with matInput directive somehow blows away the diagnostic on the other line:
Image

Minimal repro attached.
my-minimal-app.zip

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw


Please provide the environment you discovered this bug in (run ng version)

Angular CLI: 20.3.1
Node: 24.0.1
Package Manager: npm 11.5.2
OS: darwin arm64
    

Angular: 20.3.0
... common, compiler, compiler-cli, core, forms
... platform-browser, router

Package                      Version
------------------------------------
@angular-devkit/architect    0.2003.1
@angular-devkit/core         20.3.1
@angular-devkit/schematics   20.3.1
@angular/build               20.3.1
@angular/cli                 20.3.1
@angular/material            20.2.2
@schematics/angular          20.3.1
rxjs                         7.8.2
typescript                   5.9.2

Anything else?

No response

Activity

  1. changed the title [-]Importing MatInput somehow disables a `title is a function and should be invoked` extended diagnostic on an unrelated signal[/-] [+]Importing and applying MatInput somehow disables an extended diagnostic on an unrelated signal[/+] on Sep 11, 2025
  2. added
    area: language-service
    on Sep 11, 2025
  3. added this to the needsTriage milestone on Sep 11, 2025
  4. removed
    area: language-service
    on Sep 11, 2025
  5. removed this from the needsTriage milestone on Sep 11, 2025
  6. added
    area: compiler
    on Sep 11, 2025
  7. added this to the needsTriage milestone on Sep 11, 2025
  8. JeanMeche commented on Sep 11, 2025

    @JeanMeche
    Member

    Narrowed down example

    @Component({
      selector: 'child',
      template: ``,
    })
    export class Child {
      id = input(0);
    }
    
    @Component({
      selector: 'app-root',
      imports: [Child],
      template: `
        <child />
        <div [id]="title"></div>
      `,
    })
    export class App {
      title = signal('');
    }
    

    The issue occurs if the other directive shares an input with the same name as the prop.

  9. self-assigned this
    on Sep 12, 2025
  10. added a commit that references this issue on Sep 12, 2025
    31d7618
  11. added a commit that references this issue on Sep 12, 2025
    585c311
  12. added a commit that references this issue on Sep 15, 2025
    38c9921
  13. added a commit that references this issue on Sep 15, 2025
    0a60e35
  14. added a commit that references this issue on Sep 18, 2025
    faeb6ea
  15. angular-automatic-lock-bot commented on Oct 16, 2025

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  16. locked and limited conversation to collaborators on Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: compilercompiler: extended diagnosticsstate: has PR

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions