I’m following through the todoApp video and seem to have come across a change from when the version was originally created until now and I’m not sure what the work around is…
The steps in the video are (starting at 4:08):
• click on SVG
• Under settings tab, click on interactions
• Select the ‘On click’ interaction; keep the defaults
• right click and click "link to a prop for component componentName
◦ create new prop
︎ Set Name In the video, the prop’s default value is Event Handler and in my interface, I’m seeing Function
After going through the video a few times, I’m pretty sure this difference is what is causing a problem down the line that I’m not able to finish the step to make the svg clickable to change the value.
Specifically, once it gets to 11:19 in the video, the option modify the interaction with OnItemClick and to have the CurrentItem as an option is not there
I am back to doing the tutorial and I see the onItemClick; that isn’t the problem … just when I go to set the variable I am not seeing “currentItem” to then go in and select the completed field.
the first image is what the presenter sees; and the second image is what i’m seeing
So I feel lost on how to make the item clickable at the moment
I’m still not able to go through this; whenever I try to add the interaction for onItemClick and select the data for the state, I am not seeing currentItems to select from