We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1164a06 commit 155d81bCopy full SHA for 155d81b
1 file changed
src/cdk/text-field/autofill.ts
@@ -12,7 +12,7 @@ import {
12
ElementRef,
13
EventEmitter,
14
inject,
15
- Injectable,
+ Service,
16
NgZone,
17
OnDestroy,
18
OnInit,
@@ -46,7 +46,7 @@ const listenerOptions = {passive: true};
46
* Based on the following blog post:
47
* https://medium.com/@brunn/detecting-autofilled-fields-in-javascript-aed598d25da7
48
*/
49
-@Injectable({providedIn: 'root'})
+@Service()
50
export class AutofillMonitor implements OnDestroy {
51
private _platform = inject(Platform);
52
private _ngZone = inject(NgZone);
0 commit comments