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,
}
0 Comments
If you have any question please ask?