contributte / live-form-validation

:no_entry: Nice client-side live form validation for Nette Forms.
https://contributte.org/packages/contributte/live-form-validation.html
BSD 3-Clause "New" or "Revised" License
59 stars 24 forks source link

Exclude :submit from validation #30

Closed mark-31 closed 5 years ago

mark-31 commented 7 years ago

Element :submit does not contain validation rules.

Robyer commented 7 years ago

Hi, thanks for PR.

As this script internally uses modified version of original netteForms.js, and this part of code is actually same, you should rather post this PR to https://github.com/nette/forms repository. Then I can "sync" that change to this repo too. It is always better to make such changes to original script.

See: https://github.com/nette/forms/blob/master/src/assets/netteForms.js#L228

f3l1x commented 5 years ago

Hi @mark-31. Thank you for the PR, I'm closing it now, because current version works good to me. Feel free to open it again or send another PR.