streamlit-keyup icon indicating copy to clipboard operation
streamlit-keyup copied to clipboard

feat: add clear input functionality to st_keyup component

Open ItsThareesh opened this issue 6 months ago • 0 comments

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

ItsThareesh avatar Jun 04 '25 20:06 ItsThareesh