rrweb icon indicating copy to clipboard operation
rrweb copied to clipboard

maskTextClass and maskTextSelector not working

Open davidflypei opened this issue 2 years ago • 3 comments

maskTextClass and maskTextSelector and blockSelector are not working on <input type="text"> for some reason. Same thing with the default rr-mask class.

But maskAllInputs and maskInputOptions: {text: true} and rr-block works fine.

davidflypei avatar Apr 08 '22 21:04 davidflypei

Same problem here. I would like to target certain input fields with maskTextSelector so that their values are not included in the snapshot (or replaced with * for example). What would be the proper way to achieve that?

darind avatar Jun 02 '22 13:06 darind

same problem

jinceon avatar Jul 01 '22 02:07 jinceon

Just trying to understand; by my reading of it, the maskText options are for regular text on the page, and the maskInput config is for form elements .... were you expecting maskText to also apply to form elements? (not saying this is an invalid expectation)

eoghanmurray avatar Nov 24 '23 16:11 eoghanmurray