htmling icon indicating copy to clipboard operation
htmling copied to clipboard

Binary && condition not running as expected

Open fast-one opened this issue 7 years ago • 0 comments

The following code is not running as expected

Input: type = "transaction" , someproperty = "something"

Code: <template if="{{type=== 'Transaction' && someproperty}}">...</template>

However, the following code works Code: <template if="{{type=== 'Transaction' }}"><template if="{{someproperty}}">...</template></template>

fast-one avatar Mar 02 '17 02:03 fast-one