I wish to use an add-on to do validations on my ember form which lies in a component .
I tried to use ember-cp-validation add-on I followed the instructions provided by their git. In that i couldn’t find any changes to handlebar. And it didn’t worked for me. Please help me
could you plzz tell me what all steps i need to follow.
do i need to create another component for validate-input.
can i simply copy and paste this code to my application
this is my hbs file
Name
{{validated-input type=text value=demo.name maxlength=20 class="form-control" valuePath="name" id="exampleInputEmail3" placeholder="Enter the name " required=true}}
{{#if hasError}}
Такой пользователь уже существует
{{/if}}
Email
{{input type=email data-fv-emailaddress-message="The value is not a valid email address" value=demo.email class="form-control" id="exampleInput58" placeholder="email id" required=true}}