DEV Community

Cover image for Need help with if command
Daniel Seguin
Daniel Seguin

Posted on

Need help with if command

I am trying to use the new @if command within a template using version 17.
I would like to display a message instead of just displaying the value of the

Image description

Can someone help?

Thanks

Top comments (1)

Collapse
 
danieloweb profile image
Daniel Seguin

Alternative solution is to use the @ngif command

Image description

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →