Skip to content

Commit 60973f9

Browse files
committed
Add 'searchable' field to Select
1 parent 2903aa4 commit 60973f9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

chatkit/widgets.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,8 @@ class Select(WidgetComponentBase):
703703
"""Show a clear control to unset the value."""
704704
disabled: bool | None = None
705705
"""Disable interactions and apply disabled styles."""
706+
searchable: bool | None = None
707+
"""Enables the search input. Defaults to enabling search when there are more than 15 options."""
706708

707709

708710
@_direct_usage_of_named_widget_types_deprecated

0 commit comments

Comments
 (0)