maxmarcon / live_select

Dynamic (multi)selection field for LiveView
https://hex.pm/packages/live_select
Apache License 2.0
173 stars 32 forks source link

After sending a tag, while the input field is blank it considers the last value as current #60

Closed renews closed 7 months ago

renews commented 7 months ago

While using the mode tag, after the user inserting anythin on the field and the tag being created, if you press enter on the blank field, it still considers as if the text is there and duplicate keep insert new tags every time you press enter.

maxmarcon commented 7 months ago

Hi @renews . I've never seen this behavior before, nor can I replicate it on the showcase app.

Where do you see it? Share a repo that reproduces it please

renews commented 7 months ago

Looks like if you have any processing happening liek in the showcase app, it works normally. I guess you can close this