Closed ghost closed 5 years ago
Please provide a codesandbox.
I believe this is an issue with the LastPass (Password Manager) browser extension, when the Enter
key is pressed on an input field.
I've just been trying to debug the issue in my own project and found this page via a search for the same error code (I'm not working with Tiptap), so I don't think this is an issue you need to resolve.
To make sure, disable the extension and retest your issue.
Have a good day!
closed due to inactivity
Late to the party, but I have Lastpass and this error. I'm not using tiptap.
My fix was to give the input field a name.
@daveybrown how did you accomplish that? Did you have to provide a custom template for the whole input element or is it somehow possible to provide just the name attribute?
When I press enter (return/newline) in the text area ( area), I get two error messages.
**'Assertion failed: Input argument is not an HTMLInputElement'
'Uncaught TypeError: Cannot read property 'type' of undefined at e.setFieldValue (onloadwff.js:71) at HTMLFormElement.formKeydownListener (onloadwff.js:71)'**
I have the editor in a component, the code for which is below:
I wouldn't expect there to be any errors in the console upon pressing enter.
Screenshot of the error below:![image](https://user-images.githubusercontent.com/41068281/60508170-c9d03f00-9cc1-11e9-8789-4a58cbf90ba9.png)
Environment
-- this works correctly without errors on Chrome --