Hello,
In the ChoicesRepository class, in the getChoices method I see this code:
foreach ($values as $value) {
$choices[$value->getId()] = $value->getCode();
}
I had to change this to
foreach ($values as $value) {
$choices[$value->getCode()] = $value->getId();
}
to get it to work.