-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
Exclude :submit from validation #144
base: master
Are you sure you want to change the base?
Conversation
Element :submit does not contain validation rules.
Which bug it fixes? |
nette-live-form-validation + Bootstrap 3 + .input-group with submit button. |
Where exactly is problem? Any side effect? |
Example:
Class .form-group is parental element for 2 controls. |
@dg This PR was originally posted for nette-live-form-validation script ( contributte/live-form-validation#30 ). Is there a reason why |
571b36c
to
841e5de
Compare
I understand what the problem is. The same thing can happen if two inputs are together in one form-group, so a better solution is the error state only to turn on, not to turn off. |
8ed13d7
to
d6aa86e
Compare
1c0b101
to
2e462fb
Compare
144695c
to
c5c8bef
Compare
49c38f3
to
c6f98c1
Compare
337f707
to
2146e59
Compare
94f43f0
to
fe374c5
Compare
cb844f0
to
1d8a434
Compare
Element :submit does not contain validation rules.