svelte-tags-input
svelte-tags-input copied to clipboard
If I add tags={tags}, then no need handleTags, is that right?
Seems after set tags={tags}, I only need to operate the variable tags
, it's binded to the user input bi-direction.
Thus no need to set handler handleTags
, if all I need is to get user inputed tags into variable tags
, is that right ?
Seems as long as I init the tag variable as empty array, not undefined, e.g let tags=[]
, then it's fine.
Hi @kuchaguangjie I think your question is related with this PR for support binding values.
You can test if is helpful for your case. It will be launch soon after some test.