Content-Length: 413884 | pFad | https://github.com/jquery-validation/jquery-validation/pull/2242

70 Core: Call to resetInternals removed in remote validation callback by leonardospina · Pull Request #2242 · jquery-validation/jquery-validation · GitHub
Skip to content

Core: Call to resetInternals removed in remote validation callback #2242

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

Merged
merged 4 commits into from
Jan 24, 2023

Conversation

leonardospina
Copy link
Contributor

Hi,

The modification is related to the following issues, which although marked as closed don't seem to be properly fixed:
#12
#1669
#1375

From the user point of view the issue is that fields in a form which has at least one field with remote validation will be "unhighlighted" if the remotely validated field has a valid default value (remote validation is successful and any other invalid field is cleared out);
Validation error messages are still shown on the interface, but the invalid fields are shown as valid (the CSS class is reset)

Thanks,
Leonardo

@staabm staabm requested a review from Arkni November 29, 2018 12:49
@Arkni
Copy link
Member

Arkni commented Dec 5, 2018

Thanks for your contribution! I'll take a look at it as soon as possible!

@newclaus
Copy link

newclaus commented Jul 3, 2019

Is there anybody alive here?

@leonardospina
Copy link
Contributor Author

I'd be alive, but I cannot pull it! :-)

@ghost
Copy link

ghost commented Jan 12, 2023

@Arkni @kieran @staabm
Any reason for not merging this PR ?

@bytestream
Copy link
Member

It needs a test, otherwise we just go round in circles :)

@ghost
Copy link

ghost commented Jan 17, 2023

@leonardospina

It needs a test, otherwise we just go round in circles :)

Can you do the test ?

@leonardospina
Copy link
Contributor Author

leonardospina commented Jan 17, 2023 via email

@ghost
Copy link

ghost commented Jan 17, 2023

@leonardospina
OK, I'll look if I can do something. But can you give me access to your jquery-validation fork repository ? Otherwise I think I will have to do a new PR

@leonardospina
Copy link
Contributor Author

@julien-tschappat should be done can you try and access

@ghost
Copy link

ghost commented Jan 23, 2023

@bytestream
I've added the test. Let me know if something else is required.

FYI : @leonardospina

@bytestream bytestream linked an issue Jan 24, 2023 that may be closed by this pull request
@bytestream bytestream merged commit cfe74a1 into jquery-validation:master Jan 24, 2023
@bytestream
Copy link
Member

Many thanks @julien-tschappat :)

@jansokoly
Copy link

Thank you @leonardospina @julien-tschappat @bytestream.

@leonardospina
Copy link
Contributor Author

My pleasure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error messages reset with remote-validation
5 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/jquery-validation/jquery-validation/pull/2242

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy