More efficient way to handle null values from Xano

Hi there,

When Xano returns null, In Weweb “null” is shown. I can manage this using the expressen
[value]=null ? "" : [value]
But this is a bit cumbersome. Is there a way that Weweb won’t render anything when Xano returns null?

value || "" but only if value is not a number otherwise it will fail to display 0. if you know already that you have null or a value a ternary operator like your example can also handle numbers correctly

1 Like