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
The error: Main.elm:2872 Uncaught DOMException: Failed to execute 'setAttribute' on 'Element': '' is not a valid attribute name. at _VirtualDom_applyAttrs (http://localhost:5000/index.975ef6c8.js:2497:52)
This could be prevented by the compiler by not accepting empty "" as attribute arguments
The text was updated successfully, but these errors were encountered:
The compiler does not check specific values. It only checks types like String and Int, not whether a specific function gets "" or "abc" or whatever else. I believe there are other compilers that do that sort of thing though.
Anyway, we can track this one with #141. Thank you for the report!
This causes a runtime error loop:
Html.Attributes.attribute "" ""
The error:
Main.elm:2872 Uncaught DOMException: Failed to execute 'setAttribute' on 'Element': '' is not a valid attribute name. at _VirtualDom_applyAttrs (http://localhost:5000/index.975ef6c8.js:2497:52)
This could be prevented by the compiler by not accepting empty "" as attribute arguments
The text was updated successfully, but these errors were encountered: