konstaui / konsta

Mobile UI components made with Tailwind CSS
https://konstaui.com
MIT License
3.3k stars 119 forks source link

Backspace/Delete within Searchbar adds the text null #198

Closed SavageCore closed 2 months ago

SavageCore commented 2 months ago

Check that this is really a bug

Reproduction link

https://stackblitz.com/edit/konsta-svelte-yco6fu?file=App.svelte

Bug description

When deleting from the Searchbar text field, the text remains and 'null' is printed

Expected Behavior

Text is deleted and 'null' does not appear

Actual Behavior

No response

Konsta UI version

3.1.2

Platform/Target and Browser Versions

Windows Brave 1.63.161, Android Chrome 122.0.6261.64

Validations

Would you like to open a PR for this bug?

SavageCore commented 2 months ago

Oops, silly me, it was within handleSearch...