#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::Elem@63
echo(tickbox)  // --> dom::Elem@63  // expecting domkit::Checkbox@62

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.