Skip to content

z-validate directive and other (linkForNonInput) type directives #34

@mcshaz

Description

@mcshaz

the z-validate directive has the line

isInput ? linkForInput() : linkForNonInput();

with the linkForNonInput function simply adding z_error, z_invalid etc. properties to the scope.

Many custom angular directives (many examples, but calendars, autocompletes and multi select directives) will be encapsulated by a div. in these cases, making the div behave like the other input elements (i.e. calling the linkForInput function) would seem to make more sense. Could this be implemented or are there other ways the linkForNonInput directive should be used? Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions