wavesoft/dot-dom

input({ type: 'text' }) is noop

rauchg opened this issue · 1 comments

It seems that the type property doesn't get assigned for <input /> elements for some reason. Other properties work

NVM just read your code, the problem is slightly different. The main issue is that if the attribute matches a default, you don't render it. Therefore, you make some CSS target selectors not work, which need the explicit property to be set.