Template Engine: Condition with negative values not working

Hi support,

I have used the the template engine with the following code:

    ${if(statusconvert == -1)} etc.

This did work in older versions.

But now with version 19.3.59 the engine fails and only the name of the template is shown.

Conditions with positive values work, like

${if(statusconvert == 1)} etc.

In my datastore the value is set as 

"statusconvert": 0,

So the type is integer.

What can I do?

Regards

Stephan




1 Reply

GV Gokulraj Varatharajan Syncfusion Team January 11, 2022 02:22 PM UTC

Hi Stephan, 

Greetings from Syncfusion support, 

We are unable to get the exact requirement from your query. So, could you please share additional more details regarding your requirement which will be helpful for us to assist better? 

Regards, 
Gokul 


Loader.
Up arrow icon