Edit: I am using Blazor .net
I am trying to bind the selected value of a to a element of an int[] . For some reason it is binding to Role[k+1]