Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added support maskInputFn with HTMLElement #1188

Merged
merged 6 commits into from
Apr 15, 2023

Conversation

benjackwhite
Copy link
Contributor

Commonly people want to have the safety of knowing all inputs are masked but also the ability to selectively unmask (perhaps for a search box for example).

This PR extends the MaskInputFn to have a second argument which is the HTMLElement. This way users can easily define their own logic to decide whether the input should be masked or not.

@changeset-bot
Copy link

changeset-bot bot commented Mar 23, 2023

🦋 Changeset detected

Latest commit: 6b583e6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
rrweb-snapshot Minor
rrweb Minor
rrdom Minor
rrdom-nodejs Minor
rrweb-player Minor
@rrweb/types Minor
@rrweb/web-extension Minor
rrvideo Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@benjackwhite
Copy link
Contributor Author

@Juice10 don't want to bother but what would be the best way to get attention for PRs that are good to go?

@Juice10 Juice10 merged commit bc84246 into rrweb-io:master Apr 15, 2023
@Juice10
Copy link
Contributor

Juice10 commented Apr 15, 2023

@benjackwhite Thanks for submitting this PR. At the moment we go through all the open pull requests once a month as a team, or ourselves whenever we have time. We're hoping to attract some more sponsorship for the project which will allow us to free up some more time to do this more often.

YunFeng0817 added a commit to eoghanmurray/rrweb that referenced this pull request Apr 16, 2023
eoghanmurray pushed a commit to eoghanmurray/rrweb that referenced this pull request Jul 27, 2023
eoghanmurray pushed a commit to eoghanmurray/rrweb that referenced this pull request Jul 27, 2023
eoghanmurray pushed a commit to eoghanmurray/rrweb that referenced this pull request Jul 27, 2023
eoghanmurray pushed a commit to eoghanmurray/rrweb that referenced this pull request Aug 3, 2023
eoghanmurray pushed a commit to eoghanmurray/rrweb that referenced this pull request Aug 8, 2023
eoghanmurray pushed a commit to eoghanmurray/rrweb that referenced this pull request Aug 8, 2023
@benjackwhite benjackwhite deleted the feat/mask-fn-input branch September 26, 2023 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants