![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
ember-text-mask
Advanced tools
First, install it.
ember install ember-text-mask
Then, use it as follows:
Add the following markup to your template to render a masked input component.
{{masked-input mask=mask}}
In the template's controller, specify a mask
.
import Controller from '@ember/controller';
export default Controller.extend({
mask: ['(', /[1-9]/, /\d/, /\d/, ')', ' ', /\d/, /\d/, /\d/, '-', /\d/, /\d/, /\d/, /\d/]
});
📍 For more information about the attributes that the masked-input
component accepts, see the
documentation here.
Text Mask does not provide an option to unmask the model before storing it. You can sanitize the model on your side. See here for details.
To see an example of the code running, follow these steps:
git clone git@github.com:text-mask/text-mask.git
cd text-mask/ember
npm install
bower install
ember serve
You should have a working demo.
FAQs
Ember input component that accepts mask pattern
The npm package ember-text-mask receives a total of 281 weekly downloads. As such, ember-text-mask popularity was classified as not popular.
We found that ember-text-mask demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.