ember-model-validator
OfficialDeclarative Ember model validation.
Authortrusted-american
Version1.0.0
Installs0
System Documentation
What problem does it solve?
ember-model-validator provides declarative client-side validation for Ember Data models. A3 uses it in 10 models (client, enrollment, contract, agency, user, dependent, carrier, plan, agent, payment) to validate data before saving to Firestore. Validations run client-side and produce error objects that are rendered inline in forms.
Core Features & Use Cases
- Static validations: Define a static validations property on a model to declare rules.
- Built-in validators: presence, format, length, inclusion, exclusion, numericality, acceptance, confirmation.
- Custom validators: Support custom validation rules and multiple conditions, including cross-field checks.
- Conditional validation: Validate or skip based on model state using if/unless conditions.
- Error handling and i18n: Exposes errors on the model, supports translation keys for messages, and inline error rendering.
- Triggering validation: Use validate() to run validations and populate errors; validate selectively with only or except.
Quick Start
Add a static validations property to your Ember Data model and configure the built-in or custom validators to enforce your data rules.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ember-model-validator Download link: https://github.com/trusted-american/marketplace/archive/main.zip#ember-model-validator Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.