Hey, i was trying to make a text input bar that takes the text value from a component, have already read the docs about the state variables so just trying it out, but even after toggling the external access i cant find the state variable through the components page. can anyone tell what am i doing wrong ?
That selectable box could be instantiated anywhere, including on pages where there is no textbox value, so you can’t directly try to set that. Your should only see listed the state variables that are defined within the selectable box component.
However, you can right click the interaction and link it to a prop on the selectable box. That means any instance of selectable box can now specify an interaction (from outside the component).