Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
nativescript-maskedinput-ng2
Advanced tools
This plugin extends the {N} TextView to allow for input masking.
iOS 7+
Android API 17+
Plugin does not support the use of the keyboardType property from TextView.
Plugin will attempt to determine the mask type and display the appropriate keyboardType automatically.
Run tns plugin add nativescript-maskedinput
To use MaskedInput you need to include it in your XML.
Add the following to your page directive.
xmlns:mi="nativescript-maskedinput"
Use MaskedInput by adding the following XML.
<mi:MaskedInput mask="1-999-999-9999? x999" hint="1-555-555-5555" placeholder="#" />
Get or Set the mask used for input
Returns true or false if the input text matches the mask.
Use the FormattedText
property or the text
property to validate the input.
Gets or Sets the placeholder.
Default: _
Gets only the text that matches the RegEx pattern from the mask.
You cannot validate the RawText property. It will fail.
Gets the Full text including any seperators as specified in the mask.
Gets the regex that was created from the mask so that you can perform your own validation.
FAQs
A nativescript mask input for Angular 2
The npm package nativescript-maskedinput-ng2 receives a total of 1 weekly downloads. As such, nativescript-maskedinput-ng2 popularity was classified as not popular.
We found that nativescript-maskedinput-ng2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.