Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Custom templates don't work properly #71

@csaftoiu

Description

@csaftoiu

See the branch I made, https://github.com/csaftoiu/angular-ui-form-validation/tree/fix-custom-template . On the demo, I changed /views/errorTemplateOne.html to:

<div>ab <small class="error" >a - {{errorMessage}} - b</small> bc</div>

However, when validation fails on a minlength error (with validation-min-length="{template:'/views/errorTemplateOne.html', value:6}"), it just shows the error message, without any of the <div> or <small> that I added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions