New answers tagged

1 vote

LWC Template tag not working for conditions

Do not use spaces after the : or =. It must be if:true={isFlagValue}. Note that if:true and if:false are deprecated. You should instead use lwc:if, as in lwc:if={isFlagValue}.
sfdcfox's user avatar
  • 481k

Top 50 recent answers are included