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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
onloadwff.js:71 Assertion failed: Input argument is not an HTMLInputElement #14860
Comments
Who is using LastPass? Raise your hand! (onloadwff.js) |
@npapagna It's a recent LastPass regression. I highly doubt we could have had this type of problem for that long unaddressed. You can try with a native |
@oliviertassinari got it! Thanks everyone for taking the time to look at this! 馃憦 |
Cool! But how to get rid of it, keeping the extension at the same time? |
There is no official fix for this, anyway a possible workaround is the following:
Reload the page, you will see the error will disappear. Kind regards. |
This comment has been minimized.
This comment has been minimized.
Hello! You can also exclude the URL as follows:
Hope this helps! Best regards |
:D, the best answer for me, thank you so much :))) |
Well it's nice if you're the user, just disable lastpass, but we're all developers here right? So what can we do to prevent our forms from being broken for our users who do use LastPass (and who will never find this github issue)? |
To be clear, this error doesn't break anything on the page, it's noise for developers. If you want to get it fixed, contact LastPass support, the more requests, the more likely they will prioritize it. |
My bad, I had another weird error that caused my input to bug, this error is indeed just noise. |
<textarea class="form-control" id="messageBody"
onkeypress={supressEnterPropagation}
name="body"
rows="18"
></textarea> const supressEnterPropagation = (event) {
if (event.which === 13 || event.keyCode === 13 || event.key === "Enter")
event.stopPropagation()
}
} You got the idea. Its the sudo code |
FYI, the thing that has worked best for me to prevent the LastPass adornment from being added to elements is adding |
@janderson215 On the Autocomplete, you need to spread the params: <Autocomplete
renderInput={(params) => (
<TextField
{...params}
label="Choose a country"
inputProps={{
...params.inputProps,
'data-lpignore': true,
}}
/>
)}
/> |
That worked, thank you! You're the man! |
AAAAAAaaaaaaaaaaaa!!!!!! It's one of those days when the first click that you make regarding an issue takes you to the right spot. |
Disabling lastpass on localhost seems to have changed from @gdarchen's instructions. How to do now:
|
This comment has been minimized.
This comment has been minimized.
As a side note. LastPass has significantly reduced the interest of its free plan recently, with only one device now. It seems that a large chunk of the audience has moved to https://bitwarden.com/. They have x3 their user base in 3 months: |
MFing LastPass wasted an hour of my time... disabled the extension and the problem disappeared. Thanks buddy. |
If you want to tell LastPass to fix it, here is where the issue is reported: https://community.logmein.com/t5/LastPass-Support-Discussions/onloadwff-js-Assertion-failed-Input-argument-is-not-an-HTML/m-p/246491 You have to sign up for a new account to vote up 馃檨 |
still experiencing this in the year of our lord 2023 lmao lastpass is just shit |
Lastpass was really good back then, but recently it becomes worst ever, slow performance, and many tricks to enforce users to upgrade account. |
Expected Behavior 馃
There should be no console errors when using
TextField
withmultiline={true}
Current Behavior 馃槸
When rendering a
multiline
TextField
(within aform
) and hitting theenter
key , the following is logged to the console (each time the key is pressed):Steps to Reproduce 馃暪
I could reproduce this bug in Chrome (both Ubuntu 18 and WIndows 10).
Could not reproduce it in Firefox (Ubuntu and Windows).
I have the same issue in my project and found out it is present also in Material-U's web page.
Note the bug does not show when the multiline textfield is not wrapped in a form tag
Context 馃敠
Not much context here, just rendered a multiline textfield and found out these exceptions logged to the console.
Your Environment 馃寧
The text was updated successfully, but these errors were encountered: