Create Interactive Calendar (Date Picker) using Local Variables and Conditional Prototype in Figma

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ม.ค. 2025

ความคิดเห็น • 10

  • @jasonmiller6381
    @jasonmiller6381 9 หลายเดือนก่อน

    I am stumped with the logic for December to January, what would the conditional be for changing December 2023 to January 2024?

  • @mauriceb.5318
    @mauriceb.5318 ปีที่แล้ว

    There is a mistake, the January is missing in your Clicks 9:19.

    • @unblur.design
      @unblur.design  ปีที่แล้ว

      Yea, it's a bug I noticed. I have not found a fix for it.
      I'm open to ideas if you have any.

  • @pavithrabalaji9672
    @pavithrabalaji9672 ปีที่แล้ว

    could you please explain the condition where month1==month1, and how does it work?

    • @unblur.design
      @unblur.design  ปีที่แล้ว

      Month-1 = January.
      So it's just to say when the button click get to month-1, it should change month-1 to the preceding month, which is December.

  • @sharethelove65
    @sharethelove65 9 หลายเดือนก่อน

    I found this useful. For me, I cannot set the variable on the year to "-1". I get an error. When setting the variables, how did you get that list of options (addition, subtraction, divide, etc.)? They don't automatically appear for me. Is there another step in the process to create these?

    • @unblur.design
      @unblur.design  9 หลายเดือนก่อน

      Hi, the field where you set the conditions for a variable allows you to input '+' or '-'. It also automatically suggests it. Just make sure the number is not in parenthesis unless you are passing a string.
      Sorry for the late response.

    • @jasonmiller6381
      @jasonmiller6381 9 หลายเดือนก่อน +1

      Did you set year as a number? I made the mistake the first time and had to change Year to Number.

  • @Arundhati_Tiwari
    @Arundhati_Tiwari 3 หลายเดือนก่อน

    how did you get 1 next to minus sign?

    • @unblur.design
      @unblur.design  2 หลายเดือนก่อน

      Figma allows you to enter number values to your conditions