Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error "label got an empty value" without file/line reference #8908

@rcsmit

Description

@rcsmit

Checklist

  • I have searched the existing issues for similar feature requests.
  • I added a descriptive title and summary to this issue.

Summary

When using
menu_choice = st.radio("",menuchoicelist, index=choice)
Streamlit gives error
label got an empty value. This is discouraged for accessibility reasons and may be disallowed in the future by raising an exception. Please provide a non-empty label and hide it with label_visibility if needed.

It doesn't give a file or line where the error is.

Why?

I'm always frustrated when there are error messages without any reference to file and/or line

How?

Give file and line where the message is provoked

Additional Context

https://discuss.streamlit.io/t/please-provide-a-non-empty-label-and-hide-it-with-label-visibility-if-needed-issue/64551

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:enhancementRequests for feature enhancements or new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions