
Security News
PolinRider: North Korea-Linked Supply Chain Campaign Expands Across Open Source Ecosystems
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.
ember-cli-validation-components
Advanced tools
Easy to use input components to manage all your form validation needs
Easy to use input components to manage all your form validation needs
This ember-cli addon provides three validated input components input,
select and checkbox plus a service with several convenience functions to your
app. These easy to use components make form validation easy and dare I say almost fun.
This:
// controllers/index.js
form: Ember.A([
{_id: "name", regex: /^[A-Za-z]+$/},
{_id: "pin" , regex: /^\d{4}$/}
])
Plus this:
<!-- templates/index.hbs -->
{{#validated-input _id="name" formFields=form contentPosition="after" placeholder="Name"}}
<div style="color:red">Only alpha chars</div>
{{/validated-input}}
{{#validated-input _id="pin" formFields=form contentPosition="after" placeholder="Pin Number"}}
<div style="color:red">Pin is a four digit number</div>
{{/validated-input}}
Gives you this:

NOTE: This add requires Ember version 1.13.1 or higher.
ember install ember-cli-validation-components
Injecting the service can be accomplished with a single line.
formValidator: Ember.inject.service()
FAQs
Easy to use input components to manage all your form validation needs
The npm package ember-cli-validation-components receives a total of 25 weekly downloads. As such, ember-cli-validation-components popularity was classified as not popular.
We found that ember-cli-validation-components 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
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.