Open Alfons44 opened 3 years ago
I want to get the Index Value of an AutoListItem on Select but the Index is Everytime 0
Code:
PerformanceMenu.ItemSelect.on((item, index) => { alt.log("[AutoListChange] " + index, item.Text); });
Output: [17:12:01] [AutoListChange] 0 Motor
[17:12:01] [AutoListChange] 0 Motor
@Alfons44 is this still a bug? It shouldnt happen, the index should be correct if the item data (arg 1) is correct
I want to get the Index Value of an AutoListItem on Select but the Index is Everytime 0
Code:
Output:
[17:12:01] [AutoListChange] 0 Motor