event.payload.payload uppercase for single choices create via API
Describe the bug The value stored in event.payload.payload is uppercase when coming from a single choice created in an action.
To Reproduce Steps to reproduce the behavior:
- Send a single-choice from an action to the chat with some values.
- When a user selects a value in the single-choice, look in the event.
- Look at event.payload.payload
- The value will always be uppercase even though the data source used to create the single-choice in the action is not uppercase.
Expected behavior The payload should be case-sensitive.
Environment (please complete the following information):
- Botpress Version 12.26.12
Additional information The issue happens with single-choices but not when creating a drop-down content type directly
Seems to be related to: https://github.com/botpress/botpress/issues/11677
Did you found out whether this behavior is intended? I recently recognized the same issue.
Duplicate of https://github.com/botpress/botpress/issues/11677