We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
HTMLInputElement.prototype.setCustomValidity is not a function.
HTMLInputElement.prototype.setCustomValidity
right now, i am able to get around the issue by mocking it:
import { vi } from "vitest"; window.HTMLInputElement.prototype.setCustomValidity = vi.fn();
The text was updated successfully, but these errors were encountered:
#442@minor: Adds support for HTMLInputElement.setCustomValidity(), HT…
b94151f
…MLInputElement.reportValidity() and HTMLInputElement.validationMessage.
Merge pull request #444 from capricorn86/task/442-setcustomvalidity-i…
e5cdae5
…s-not-a-function #442@minor: Adds support for HTMLInputElement.setCustomValidity(), HT…
Thanks for reporting @msawatzky75! 🙂
I have added support for HTMLInputElement.setCustomValidity(), HTMLInputElement.reportValidity() and HTMLInputElement.validationMessage now.
You can read more about the release here: https://github.com/capricorn86/happy-dom/releases/tag/v2.54.0
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
HTMLInputElement.prototype.setCustomValidity
is not a function.right now, i am able to get around the issue by mocking it:
The text was updated successfully, but these errors were encountered: