Skip to content

feat: add clear input functionality to st_keyup component#50

Open
ItsThareesh wants to merge 4 commits into
blackary:mainfrom
ItsThareesh:main
Open

feat: add clear input functionality to st_keyup component#50
ItsThareesh wants to merge 4 commits into
blackary:mainfrom
ItsThareesh:main

Conversation

@ItsThareesh

Copy link
Copy Markdown

Summary
This PR adds a clear input functionality to the st_keyup component, as requested in Issue #42

Changes

  • Ensured input field resets and syncs properly on state update
  • Clear button appears only when text is entered
  • Added color change hover animation for clear button
  • Updated function headers and typing annotations to match native Streamlit patterns for better consistency

- Ensured input field resets and syncs properly on state update
- Clear button appears only when text is entered
- Added color change hover animation for clear button

Fixes blackary#42
- Ensured streamlit_app.py remains intact for demonstration/testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant