Click here to Skip to main content
16,015,218 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i want to check if ctrl.PolicyNo is null or not.
if ctrl.PolicyNo is null, set ctrl.PolicyNo = N/A otherwise ctrl.PolicyNo has a value.

What I have tried:

{{ctrl.PolicyNo== null 'N/A' : ctrl.PolicyNo }}


but its not working pls help me..
Posted
Updated 6-Jul-23 22:20pm

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900