Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation Components #17

Closed
wants to merge 2 commits into from
Closed

Conversation

Emerson
Copy link
Owner

@Emerson Emerson commented May 7, 2015

A work-in-progress and experiment that will attempt to satisfy some of the validation concerns raised in issue #15 using the following API.

Validation Components

{{#fm-field type='text' value=model.first_name errors=model.errors.first_name}}
  {{fm-validator type='required' value=true}}
  {{fm-validator type='minLength' value=5}}
  {{fm-validator type='maxLength' value=25}}
  {{myapp-custom-validator value='whatever'}}
{{/fm-field}}

Lots of work to be done here, so let's get started!

@Emerson
Copy link
Owner Author

Emerson commented Oct 9, 2015

FYI for anyone interested - This is on the back burner until the EFM is fully Ember 2.0 complient

@Emerson
Copy link
Owner Author

Emerson commented Jan 19, 2016

After chatting with @g-cassie we've decided to approach validation in a mostly hands off manner. We'll provide appropriate hooks for validation (both server side and client side), but the actual validation will not be handled by this library.

@Emerson Emerson closed this Jan 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant