diff --git a/packages/rrweb/src/record/observer.ts b/packages/rrweb/src/record/observer.ts index d40ae5339e..28e193d428 100644 --- a/packages/rrweb/src/record/observer.ts +++ b/packages/rrweb/src/record/observer.ts @@ -370,7 +370,8 @@ function initInputObserver({ ) { text = maskInputValue({ maskInputOptions, - tagName: (target as HTMLElement).tagName as unknown as Uppercase, + tagName: (target as HTMLElement) + .tagName as unknown as Uppercase, type, value: text, maskInputFn,