marko-js-archive / marko-widgets

[LEGACY] Module to support binding of behavior to rendered UI components rendered on the server or client
http://v3.markojs.com/docs/marko-widgets/
MIT License
142 stars 40 forks source link

Bug: w-onchange adds "|w0" for null input #159

Closed BryceEWatson closed 7 years ago

BryceEWatson commented 7 years ago

The false case for:

w-onchange="${someCondition && 'toggleCheckboxes'}"

creates the following html:

data-w-onchange="|w0"

When there is no input the onchange function should not add "|w0".

patrick-steele-idem commented 7 years ago

Fixed. New version published: marko-widgets@6.3.5