You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The check for how to render Col looks for == null but doesn't check for false. If passed false, Grid.prototype.renderCols will end up throwing an exception on the line col.attrs = col.attrs || {};
The text was updated successfully, but these errors were encountered:
raykyri
changed the title
m(Grid) crashes when passed false in its children
m(Grid) crashes when passed false as a child element
Aug 15, 2020
Mithril version 1.x treats false and strings as a vnode while version 2.x does not. I've added a fix to check if the col passed in is an object. Fixed in version 0.2.8.
The check for how to render Col looks for
== null
but doesn't check forfalse
. If passed false, Grid.prototype.renderCols will end up throwing an exception on the linecol.attrs = col.attrs || {};
The text was updated successfully, but these errors were encountered: