Label text resetting to default when protyping

I have created a checkbox component like this:

image

As you can see I have used “label” property to input text to be shown as a label and it’s default value is “Label”:

image

When I use an instance of this component to do show/hide or enable/disable functionality using variables, the first time I click on the checkbox everything is fine…

  1. Initial screen

  2. First click screen

However, once I do this again, the checkbox label resets to it’s default value “Label”. Also note that the button loses its label and gets the icon.

  1. Second click screen

Can someone explain why this is happening? Thanks a lot!

Hi @petar.brkovic, Thank you for contacting us about this.

I appreciate you sharing those screenshots with us. They are helpful in understanding your situation. However, without closely examining the design file, it’s challenging to pinpoint the exact cause of the issue.

If you are still experiencing the same issue, I recommend reaching out to our support team for assistance at https://help.figma.com/hc/en-us/requests/new
When reaching out, please remember to include the following details:

  • Your Figma account email
  • A quick recording demonstrating the issue
  • The URLs of the affected file and any related library files, add support-share@figma.com as an editor of those files(this will not affect your billing)

In the meantime, we welcome any additional suggestions or insights from our community. If you have any, please feel free to share them here.

Thank you once again for reaching out and your assistance.