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

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

Open
mcshaz opened this issue Nov 6, 2016 · 0 comments
Open

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

mcshaz opened this issue Nov 6, 2016 · 0 comments

Comments

@mcshaz
Copy link
Contributor

mcshaz commented Nov 6, 2016

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

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

No branches or pull requests

1 participant