In Jira Cloud, when a custom field is added to a workflow transition screen, the value is shown as text and not a fixed dropdown. This behaviour also occurs when creating or editing a subtask.
This happens with any custom field.
In Jira Server and Jira Data Center, this behaviour is not seen and you can change your selection as intended.