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
They expect an array of values, and they render one thing if the value is there and another thing if it is not. This worked in jQuery templates, but in jsRender, it appears that it does not call the template code at all for a null value. Is this the expected behavior?
The text was updated successfully, but these errors were encountered:
This is not currently supported, (in part because of the design for the behavior discussed in #7)
if you model your data to have an array of objects with properties (which may be undefined), rather than simply an array of strings that may be undefined as in ["a",,,"b"]) then you can get something close to your scenario:
I have many templates like this:
They expect an array of values, and they render one thing if the value is there and another thing if it is not. This worked in jQuery templates, but in jsRender, it appears that it does not call the template code at all for a null value. Is this the expected behavior?
The text was updated successfully, but these errors were encountered: