Closed dbauszus-glx closed 5 years ago
the comment is required for hyperhtml to update things later, but https://codepen.io/pinguxx/pen/ydzxOo
seems to be working ok
Just ignore comments, which are completely irrelevant but strictly necessary.
Also explained in here https://gist.github.com/WebReflection/d3aad260ac5007344a0731e797c8b1a4
I create an option tag element and pass a string to the innerHTML like so:
This creates a second child node in the option element.
In order to generate the option tag with the expected single #text node it is necessary to create the option with wire and then assign the string to the textcontent like so:
Is this the expected behavior?