[Solved] Property 'value' does not exist on type 'EventTarget' Angular 12



Property 'value' does not exist on type 'EventTarget' Angular 10/11/12

In angular 10+ to fix this problem you may follow the following steps:

1. Open tsconfig.json file.

2. Find angularCompilerOptions

3. Add "strictDomEventTypes": false

    
    "angularCompilerOptions": {
      "enableI18nLegacyMessageIdFormat"false,
      "strictInjectionParameters"true,
      "strictInputAccessModifiers"true,
      "strictTemplates"true,
          "strictDomEventTypes"false,
    }


Reactions

Post a Comment

0 Comments