You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting the displayed value using ".innerHtml =" throws an error
To Reproduce
Steps to reproduce the behavior:
Run the local host
Go to the API page
Look in the console
See this error:
Error: This ChildParthas noparentNodeand therefore cannot accept a value. This likely means the element containing the part was manipulated in an unsupported way outside of Lit's control such that the part's marker nodes were ejected from DOM. For example, setting the element'sinnerHTMLortextContent can do this.
Expected behavior
No errors
Switching from setting innerHtml to createNode will solve this.
The text was updated successfully, but these errors were encountered:
Describe the bug
Setting the displayed value using ".innerHtml =" throws an error
To Reproduce
Steps to reproduce the behavior:
See this error:
Error: This
ChildParthas no
parentNodeand therefore cannot accept a value. This likely means the element containing the part was manipulated in an unsupported way outside of Lit's control such that the part's marker nodes were ejected from DOM. For example, setting the element's
innerHTMLor
textContentcan do this.
Expected behavior
No errors
Switching from setting innerHtml to createNode will solve this.
The text was updated successfully, but these errors were encountered: