-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow setting placeholder for st.multiselect #6901
Changes from 8 commits
a255fcb
216c9f1
8b3fd94
3c6bc86
8d120db
94cf4b1
4f117ce
071e0ed
d14d375
7f14723
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,8 @@ message MultiSelect { | |
string form_id = 6; | ||
repeated int32 value = 7; | ||
bool set_value = 8; | ||
bool disabled = 9; | ||
LabelVisibilityMessage label_visibility = 10; | ||
int32 max_selections = 11; | ||
int32 max_selections = 9; | ||
string placeholder = 10; | ||
bool disabled = 11; | ||
LabelVisibilityMessage label_visibility = 12; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same comment here as in #6913 (comment) we'll need to keep tag numbers the same for existing fields and add There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. d14d375 |
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: maybe "A string to display when no options are selected. Defaults to 'Choose an option'"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
d14d375
Thank you for the suggestion. It would be better to specify the default value.