Custom with my own function? #404
-
I've tried to make a few TabItems with the same buttons by creating the template via for:
But this code doesn't work properly. I think that this template takes values from the last index, because of anon func which doesn't take the arguments in moment and use it as global for all TabItems |
Beta Was this translation helpful? Give feedback.
Answered by
gucio12
Oct 29, 2021
Replies: 1 comment 2 replies
-
yah, try |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
GrandeTartarie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yah, try
i := i
on top of your for loop and check if it'll work