New answers tagged lwc-dom
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}.
Top 50 recent answers are included
Related Tags
lwc-dom × 208lightning-web-components × 201
javascript × 39
lightning × 29
lwc-wire-adapter × 25
html × 11
dom × 11
lwc-oss × 11
css × 10
lightning-aura-components × 9
lwc-jest × 9
apex × 8
salesforcedx × 7
lightning-experience × 7
shadow-dom × 7
aura × 6
lightning-datatable × 6
lightning-events × 4
template × 4
js × 4
community × 3
lightning-design-system × 3
static-resources × 3
developer × 3
aura-iteration × 3