
Security News
PyPI Expands Trusted Publishing to GitLab Self-Managed as Adoption Passes 25 Percent
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads
@particle/ember-easy-form-extensions
Advanced tools
Enhances Ember EasyForm by providing easy action handling, validations, and Ember 1.13 support for your forms
This Ember addon enhances Ember EasyForm by providing easy action handling, validations, and Ember 1.13 support for your forms
To support Ember 1.13 Easy Form has been temporarily rewritten for Ember CLI. When EasyForm is updated by Dockyard this addon will support that instead of our own form components.
Ember apps running 1.12 or below may behave unexpectedly.
Uninstall any references to ember-easy-form and ember-validationsand then:
ember install ember-easy-form-extensions
ember-easy-form-extensions comes prepackaged with ember-easy-form and ember-validations so you can now build awesome forms and handle the subsequent submission events just as easily as Easy Form makes writing your templates.
Here's an example:
{{!--app-name/templates/posts/new.hbs--}}
{{#form-wrapper}}
{{#form-controls legend='Write a new post'}}
{{!--model.title--}}
{{input-group property='title'}}
{{!--model.description--}}
{{input-group property='description' type='textarea'}}
{{/form-controls}}
{{!--Submit and cancel buttons--}}
{{form-submission}}
{{/form-wrapper}}
// app-name/controllers/posts/new.js
import Ember from 'ember';
import FormMixin from 'ember-easy-form-extensions/mixins/controllers/form';
export default Ember.Controller.extend(
FormMixin, {
validations: {
'model.title': {
presence: true
}
}
/* Runs if cancel button in {{form-submission}} is clicked */
cancel: function() {
this.transitionTo('posts');
},
/* Runs after validations pass and submit button in {{form-submission}} is clicked */
save: function() {
this.get('content').save().then(function(post) {
this.transitionTo('post', post);
});
},
});
A walkthrough and documentation can be found in the wiki.
FAQs
Enhances Ember EasyForm by providing easy action handling, validations, and Ember 1.13 support for your forms
We found that @particle/ember-easy-form-extensions demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 29 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
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.