All notable changes to this project will be documented in this file.
- remove
tests
folder from distributions
- added
submit_function
that is called on a new submission - added
highlighColor
for option styling that highlights matching text - updates to ci and playwright tests
clear_on_submit
now also resets thedefault_options
- added
clearable
style option to determine when the clear icon is shown - enforce kwargs usage due to the large number of parameters
- added
reset_function
that is called when a user resets the searchbox - clear icons now have hover effects
- support for
@fragment
scoped reruns - added option to
debounce
react callbacks - added option to set a
min_execution_time
to avoid reset issues with reruns
- add wrapper styles that can be used to add margins to the searchbox
- added option
default_use_searchterm
that changes the default return value to the current search - added option for absolute positioning
- fixes type hinting issue
- added
style_overrides
options to customize the searchbox appearance
- fixes an issue with the use of
kwargs
- added the option to pass
kwargs
to searchbox that will be forwarded to the search function
- added different options to
edit_after_submit
and not reset the searchterm
- fixes an issue with the searchbox loosing focus
- fixes an issue with state resets after submitting
- update imports for
rerun
andexperimental_rerun
- extend support for different python versions
- added
default_options
that are shown on first use - added option to disable reruns on update
- fix issue with empty search results
- fix keyerror where session state is missing in case of reruns
- added
streamlit_searchbox
logger
- remove
match
statements for version compatibility
- added display options for
placeholders
andlabels
- added option to
clear_on_submit
to reset the searchterm after selection - added
default
return before first selection