#2692 JS: Assignment fails

SlimerDude Thu 19 Apr 2018

Hi, I found a JS bug while using domkit, I've reduced it down to:

tickbox := null as Checkbox
wrapper := (tickbox = Checkbox()).wrap("Some label")

echo(wrapper)  // --> dom::[email protected]
echo(tickbox)  // --> dom::[email protected]  // expecting domkit::[email protected]

The tickbox assignment isn't working as expected.

andy Thu 19 Apr 2018

Ticket promoted to #2692 and assigned to andy

Login or Signup to reply.