Local app testing - selectbox format_func erroring out when using key #8019
Labels
feature:app-testing
priority:P3
status:confirmed
Bug has been confirmed by the Streamlit team
type:bug
Something isn't working
Checklist
Summary
If in your streamlit, there is a selectbox with format_func (returning a value different from the key), then we get the following error with streamlit app testing:
I believe at.selectbox allows you to only select the displayed value (formatted), but you can't select by key.
Not sure if this is intended, but it does seem a bit counter-intuitive.
Reproducible Code Example
Steps To Reproduce
No response
Expected Behavior
No response
Current Behavior
No response
Is this a regression?
Debug info
Additional Information
No response
The text was updated successfully, but these errors were encountered: