Protopie Crash Course ( 2020 ) : Checkboxes & Radiobuttons p6

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

Комментарии • 42

  • @WalidKhan
    @WalidKhan Год назад +1

    Appreciate the tutorial. You just saved me an hour of manually adding condition to each button!

  • @mouradblil1431
    @mouradblil1431 3 года назад

    Thanks a lot!

  • @neryspetrou1807
    @neryspetrou1807 2 года назад

    You made this so simple and save my day !! Thanks for telling us why parts don't work aswell it's great to know

    • @aswindesign
      @aswindesign  2 года назад

      Thanks for your kind words Nerys ❤

  • @EmmaMurray-o3f
    @EmmaMurray-o3f Год назад +1

    For anyone looking at this in 2023 - you can use the parent component rather than the other component option

    • @aswindesign
      @aswindesign  2 месяца назад

      Thanks for the call out :)

  • @abarakat2241
    @abarakat2241 4 года назад

    Thanks for this radio button trick!!

  • @ElenaZoro
    @ElenaZoro 4 года назад

    It's a great way to show the most obvious way first to explain the functionality but then also giving a shortcut. If you would jump directly to the shortcut, nobody would understand the logic behind. Perfectly explained!

    • @aswindesign
      @aswindesign  4 года назад

      Thanks for highlighting it, Elena! Glad you liked my approach :) Trying to learn from these and further improve in my future videos, so your comments are super helpful!

  • @FlorianGrau
    @FlorianGrau 3 года назад

    Thank you very much, the start delay "hack" did the trick! However I have a question: The last section of the video, where you add the condition ... isn't that meant to get rid of the start delay "hack"? However you didn't remove the start delay after adding the condition. When I am trying to recreate this behavior, I cannot make it work with the condition only.

    • @aswindesign
      @aswindesign  3 года назад +1

      Hello Florian, thanks for watching and trying this technique out. Good question! The delay ‘hack’ is a workaround because we are not selectively sending the ‘uncheck_radio’ message to only components that need it from the main pages, instead, we are allowing that to happen from within the component ( see 10:50 ) . That said, the reason for the condition isn’t to replace the delay! I think of it as a good hygiene practice that has been very helpful for me by preventing unintended actions when I’m adding on more and more complex logic to an interaction.
      But you’re right, this condition probably isn’t required at all for this specific radio button use case. But apparently the delay is! ( unless protopie updated their logic on how components execute instructions asynchronously within the component environment )

  • @abhi4u20
    @abhi4u20 3 года назад

    How do we have same for chips? I want text colour to change but there is no option.

  • @srr1106
    @srr1106 2 года назад

    Great video brother. First of thanks for making this. In Protopie 2022 there is no option called "other component" in the channel option when we try to receive a msg from other components.

    • @aswindesign
      @aswindesign  2 года назад +1

      Heyy Thanks for letting me know :) It's probably time for me to make an updated one! 🙌🏽

  • @MrRubiNguyen
    @MrRubiNguyen 4 года назад

    Thank for your sharing, amazing

  • @problemimentali
    @problemimentali 4 года назад

    great tip for radio buttons! I was going to make it SOOOO much more complicated! Really helpful, thanks

  • @vinnyjamesobrien
    @vinnyjamesobrien Год назад

    Hmm Outside Component is no longer on option?

  • @julioc3335
    @julioc3335 4 года назад

    Hi Designer X, if I have multiple questions with button-like responses like 12:45 minute, how can I make them work independently of each question on the same screen?

    • @aswindesign
      @aswindesign  4 года назад

      Sorry to clarify - What you’re describing is the check-mark functionality right?

    • @julioc3335
      @julioc3335 4 года назад

      @@aswindesign Yes, on a screen I put several questions, but when giving the answers in another question, the activated button is skipped to the others and the first answer is not respected.

    • @aswindesign
      @aswindesign  4 года назад

      Have you checked if you have defined the logic correctly? Looks to me like you might have defined the logic incorrectly on tap event on each question?

    • @aswindesign
      @aswindesign  4 года назад

      @@julioc3335 Send me your file to me@aswin.design ! i can take a look for you :)

  • @hidayatuxdotcom
    @hidayatuxdotcom 4 года назад +1

    Nice do more like this you have good future in RUclips regarding in ProtoPie

    • @aswindesign
      @aswindesign  4 года назад +1

      Thanks Shaik! Glad you found it helpful

  • @mb20grrl
    @mb20grrl 4 года назад

    thank you so much for your protopie tutorials, they helped me so much. looking forward more protopie tuts

  • @jhonatanalba1210
    @jhonatanalba1210 4 года назад

    Hey, for some reason my radio buttons are not getting the response and I tried adding the 0.2s delay.....the 5.0.5 version has different channel to send a message and that might be confusing me...any lights on this? thank you!

    • @aswindesign
      @aswindesign  4 года назад +1

      Hey Jhonatan! Thanks for reporting this. I'm not sure if protopie has updated any functionality. Let me try it out and update back!

    • @jhonatanalba1210
      @jhonatanalba1210 4 года назад

      @@aswindesign Hey, I actually figured out...this latest version has an option to link to 4 different channels 😅and I was linking to the wrong one...thanks a lot!!

    • @aswindesign
      @aswindesign  4 года назад

      Jhonatan Alba ah got it! Thanks Jhonatan :)

    • @kimberlyveraldi8009
      @kimberlyveraldi8009 2 года назад

      @@jhonatanalba1210 Hey! Same thing is happening to me. What channels did you end up switching to?

  • @christiangrieger5561
    @christiangrieger5561 4 года назад

    Hey awesome work!
    I wonder if you might know if I can use colors, that have been defined as variables in a scene, within a component. Basic idea here would be to have all my colors as global ressources. So if I ever change a color, I only have to change the respective color ressource.

    • @aswindesign
      @aswindesign  4 года назад

      Thanks Christian! Unfortunately there's no straightforward way that I can find on protopie related to your case as Fill property doesn't support formulas at the moment. Although you could do a work around with a Start trigger to fill based on formula. You'd define all the variables in scenes for this case.
      Alternatively if you want to use within components you can use send and receive feature to fill based on the message you send from a scene. For eg. inside a component i'd have a trigger to receive `color` message and if the value is `red` i'd fill that layer with the variable corresponding to `red` defined within that component ( I also have another video on this series on send and receive ). To reuse this you'd just have to copy this conditional logic, paste again, select all and edit the layer this logic applies to.
      Again these are hacky ways. Agree would be great to see this feature!

  • @quicksilver455
    @quicksilver455 4 года назад

    Hi, thank you very much for this, it was very helpful! I have rows of Yes and No radio buttons that are next to each other. is there a way that I can implement this functionality easily for this? or do I have to create multiple components for each yes/no row? thanks so much

    • @aswindesign
      @aswindesign  4 года назад

      Hello @QuickSilver . Yes - to answer your question you need components to achieve what you’re looking for. However you can combine each row of radio buttons into one component. this way you reuse functionality for each row.

    • @quicksilver455
      @quicksilver455 4 года назад

      @@aswindesign thank you sooo much! combining each row of radio buttons into one component is what I did!

  • @Dhanushsaji
    @Dhanushsaji 4 года назад

    That was all so nice sir... But i didn't get the concept of sending and receiving message to the current source..
    If you can ..pls explain it bit more..
    Thankuu 😇

  • @guigoalsss5696
    @guigoalsss5696 3 года назад

    Thanks dude! This tutorial helped me a lot !!! But I still have a question: If I have two combos of radio buttons in the same scene, how can I parameterize them so that one interaction does not affect the other?

  • @siddharthyadev
    @siddharthyadev 4 года назад

    any way i can achieve this without the time delay hack, current method is good, i am just curious..

    • @aswindesign
      @aswindesign  4 года назад

      Perhaps the order of actions could itself work? The time delay makes sure there's no conflicting actions rather than a hack - sometimes it may lead to unexpected behavior.

  • @mohamedsholkamy3183
    @mohamedsholkamy3183 3 года назад

    maybe with Adobe XD you can do it so easy not like this

    • @aswindesign
      @aswindesign  3 года назад

      Sure, each tool brings its own convenience :)