Which node to use to show values not boolean

  • petershaw99-1296440873768452147

    PeterShaw

    4 months ago

    I am creating a variable and I want the output to display the values but instead it shows true. Which node can I use to show the values?
    1296440873948811315-
  • plusmin-1296449021367550059

    Armand

    4 months ago

    You have to add them into an array. The and is only looking for true/false.

    Example:
    1296449021191127193-
  • It can also be something else, depending what kind of value you need in your Variable
  • plusmin-1296449545055633450

    Armand

    4 months ago

    What are you planning to do with the Variable?
  • petershaw99-1296457952890323025

    PeterShaw

    4 months ago

    When you click on a repeated item there will be a modal that shows the values of the selected item.

    Lets say the repeated item contains value a and value b. I want to create a variable that stores value a and value b so that the modal only shows the values of the clicked item
  • plusmin-1296461882646986856

    Armand

    4 months ago

    Assuming you need something to work - more or less - like this, why don't you just set the entire Object from the repeat in a Variable?

    Let me rephrase that, why do you want to break up the object and put it into a var? If you add the entire object into a var you can then use the data from the object in the modal.
    1296461882021908563-
    1296461882680676434-
  • plusmin-1296466549200126045

    Armand

    4 months ago

    If you really want to only keep a few items from the Object, then like below will do the trick (only keep the 1st and 3rd key in each object from the repeat):
    1296466548579631165-
    1296466548982288445-

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code — but accessible to your entire team!

Try toddle — it's free!

© Copyright 2024 toddle. All rights reserved.