Skip to content

Custom form element validation and default global validate-on support. - #8

Open
ugurerkan wants to merge 2 commits into
thetutlage:masterfrom
ugurerkan:master
Open

Custom form element validation and default global validate-on support. #8
ugurerkan wants to merge 2 commits into
thetutlage:masterfrom
ugurerkan:master

Conversation

@ugurerkan

@ugurerkan ugurerkan commented Nov 9, 2016

Copy link
Copy Markdown

Hello 😊

I noticed an issue when working with custom form directives. Validation-schema doesn't recognize them because of input, select, textarea query selection and decided to change query with name attribute selection. Thought this is better and have backward compatibility.

Also, defaultSchema object validate-on property is default watch and angular-validation is have ability to set valid method on configuration. I make changes for get valid method from $validationProvider.

@ugurerkan ugurerkan changed the title Form element query changed to which element has name attribute. Custom form element validation and default global validate-on support. Nov 9, 2016
@hueitan

hueitan commented Nov 13, 2016

Copy link
Copy Markdown

👍 nice, @thetutlage

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.

2 participants