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
Hello, i want to test if a variable is null before getting one of its properties..i tried to do this {d.val:isEmpty("value is null"): d.val.id} but didn't work [Error: Formatter "d.val.id" does not exist. Do you mean "div"?] how can i manage to do this and if it is not possible we would like to see this feature in the future release..
The text was updated successfully, but these errors were encountered:
Hello @seddik11, thank you for writing to us!
Unfortunately it is not possible to check if a variable is defined to print it. For now, you can only insert static string into arguments as explained in the documentation. {d.myvariable:ifEqual(2, “two"):print(“unknown”)}.
This is closely related to the feature request pass variables into formatters arguments and conditional sections.
Hello, i want to test if a variable is null before getting one of its properties..i tried to do this {d.val:isEmpty("value is null"): d.val.id} but didn't work [Error: Formatter "d.val.id" does not exist. Do you mean "div"?] how can i manage to do this and if it is not possible we would like to see this feature in the future release..
The text was updated successfully, but these errors were encountered: