svelecte icon indicating copy to clipboard operation
svelecte copied to clipboard

Prop for the search text?

Open frederikhors opened this issue 7 months ago • 1 comments

I need to be able to bind to the text value the user write to search.

How to? I don't see the option. Am I blind? :)

Thank you again.

frederikhors avatar May 24 '25 21:05 frederikhors

That's not possible through some prop. But it's possible, because it's still javascript. You would need to define inputId prop and after mounted you need to attach classic onKeyDown event listener. And continue from there.

And what is your use case, that you need that?

mskocik avatar May 25 '25 18:05 mskocik

This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 3 days.

github-actions[bot] avatar Jun 16 '25 03:06 github-actions[bot]