Add `mask` parameter to `.required` method
This solves the #1176 by adding the mask parameter to the .required() method.
- I have used as base the
.partial(mask)method. - I have also added the
.requiredto the README (it didn't exist before) with its new mask explanation. - Tests added and renamed the
with masktest topartial with maskas we now have therequired with mask. - Deno support
Deploy Preview for guileless-rolypoly-866f8a ready!
Built without sensitive environment variables
| Name | Link |
|---|---|
| Latest commit | b4eb7cd2b6c7bd43e1d4019f050961ec16376ade |
| Latest deploy log | https://app.netlify.com/sites/guileless-rolypoly-866f8a/deploys/633cd43b8cff910008d59180 |
| Deploy Preview | https://deploy-preview-1315--guileless-rolypoly-866f8a.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Up
No noticeable changes in the benchmarks for the existing functionality, so I'd say this is ready to merge! Thanks @SrBrahma for the contribution.
🤝