I have an on_change method that assigns a list of tuples to a Selection field
But I get the error message in the subject
Why is that ?
The tuples are like (int, string)
I tried casting the 2 elements in the tuples to 2 strings, int for the id and string for the value, string for the id and int for the value...
I just want to create a list of choices for a dropdown menu field that depends on the value in another field
How am I supposed to do that ?