Skip to main content
Question

Prototyping: live re-assignment of variables (via placeholder var)

  • October 8, 2024
  • 1 reply
  • 22 views

Nik4
  • New Member
  • 1 reply

Situation: I’m building a listbox component, and want to be able to select an item in that list and assign it to a variable in a prototype. I also want to be able to re-use this same component for multiple similar scenarios (same options, different variable endpoint). And I thought I could use a variable as a placeholder to assign the correct endpoint dynamically.

Current Results: When I assign the listbox value to the variable that is being passed to the placeholder variable the variable the functionality works by default, but as soon as I dynamically re-assign the variable to a different endpoint, everything breaks.

The following video shows the current behavior, and I suspect because of it, this is an unintended bug with variables at the moment?

Example video (loom)

This topic has been closed for replies.

1 reply

djv
Figmate
  • Community Support
  • 5239 replies
  • November 18, 2024

Hey @Nik4, thanks for the feedback and sorry for the delayed reply!

We’ll pass this onto the team for future consideration. Don’t forget to vote up top! ☝️

Our teams use votes from the community to gauge overall interest and prioritize.