Timeline for How to write conditional If Statement in Lightning
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 20, 2018 at 16:58 | history | edited | Ratan Paul | CC BY-SA 3.0 |
added 473 characters in body
|
Feb 19, 2018 at 20:29 | comment | added | Charles T |
Someone minused my comment after I entered it. Please refer here for further confirmation that and(param1,param2,param3) in Lightning is treated as only and(param1,param2) . salesforce.stackexchange.com/questions/176835/… "Yes, it's a known bug/limitation of Expression Operators. You can only evaluate two parameters in and and or expressions."
|
|
Feb 19, 2018 at 16:32 | comment | added | Charles T |
Sorry to only read this a year later. If this code is live in your org the logic may be wrong. Actually the Lightning expressions and , or only take two arguments and ignore any after the 2nd. You can use && for AND but in Lightning markup it must be XML-escaped, so it will actually be && .
|
|
Apr 3, 2017 at 5:31 | comment | added | Ratan Paul | your welcome @AnnappaPH | |
Mar 30, 2017 at 10:43 | history | edited | Ratan Paul | CC BY-SA 3.0 |
added 80 characters in body
|
Mar 30, 2017 at 10:41 | vote | accept | Annappa PH | ||
Mar 30, 2017 at 10:36 | history | answered | Ratan Paul | CC BY-SA 3.0 |