Add ability to bind html input element with a variable #196
Closed
Description
Hello!
Would it make sense to add the ability to bind the input element with a variable which can be passed to the wrapper?
something like:
<TextInput bind:value={inputValue} bind:htmlInput={inputField} />
so you could do things like
inputField.focus()
I know that refs suck, but unfortunately sometimes you are forced to do something imperatively...
Thanks!
Metadata
Assignees
Labels
No labels