PricingDocsAcademy
Bluesky ...
Wed, Dec 11, 9:43 PM

Which node to use to show values not boolean

  • /attachments/1296440873768452147/1296440873948811315/image.png

    PeterShaw

    1 month 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?
  • /attachments/1296440873768452147/1296449021191127193/Screenshot_2567-10-17_at_19.24.36.png

    Armand

    1 month ago

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

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

    1 month ago

    What are you planning to do with the Variable?
  • PeterShaw

    1 month 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
  • /attachments/1296440873768452147/1296461881510334576/set_in_object.mp4

    Armand

    1 month 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.
  • /attachments/1296440873768452147/1296466548579631165/Screenshot_2567-10-17_at_20.33.33.png

    Armand

    1 month 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):

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.