
Security News
The Code You Didn't Write Is Still Yours to Defend
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.
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 four validated input components input, input-mask,
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
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
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.