diff --git a/src/snapshot.ts b/src/snapshot.ts index 32fe3e41..c3e6d3b8 100644 --- a/src/snapshot.ts +++ b/src/snapshot.ts @@ -242,6 +242,8 @@ function serializeNode( if ( attributes.type !== 'radio' && attributes.type !== 'checkbox' && + attributes.type !== 'submit' && + attributes.type !== 'button' && value ) { attributes.value = maskAllInputs ? '*'.repeat(value.length) : value;