Hi, i have a question that i think is pretty dumb but i can’t figure out a solution.
I was working on a interactive dropdown component that i want to be able to use across multiple design.
Each text/option in this dropdown is tied to a default variable (option1 is a text for option1), and i want to be able, when i copy and paste this dropdown to a new file, to be able to edit those variables values to make modifications to my dropdown.
I published my component to a library, and imported this library to a new file to test my component, but when i opened my variables, it showed as empty, and my component is still “Linked” to the original variables.
What workflow would be the best to fulfill my need? (create a dropdown where each value is linked to a variable, and be able to copy and paste this “default” dropdown to any file i need and make modifications based on the context)
Page 1 / 1
If those option text variables are set in your main library you can’t change them within files linked to that library, as those variables are stored in your main library. So to change your option text variables from a file that is linked to that library, you would have to go back into your main library, change the option text variable(s) to what you want, republish the library, and then update the file — that doesn’t give you much freedom with that component to easily change the options.
There are other ways you could set up your dropdown without using the variables approach.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.