Skip to main content
dinesha5713
Known Participant
Nov 13, 2024 7:03 AM UTC
Question

Hide/Show Components by Condition

To Hide/Show Component  We can use showwhen,and/or,match,if for logic

which is best and what to use where

    1 reply

    stefanhelzle0001
    Brainy
    Nov 13, 2024 8:18 AM UTC

    I mostly use showWhen. In cases where I need to control a bunch of components, I wrap them in a layout component and use this one for my showWhen.

    When building wizards or more complex interfaces, I use a mix of showWhen, match, choose and if, depending on the actual use case.