Skip to content

Conversation

@AnatolyPruchay
Copy link

When change input value to empty string by JS or Jquery(button), the list displayed only the last selected item.

fix: When change input value to empty string by JS or Jquery(button), the list displayed only the last selected item.
@hannaholl
Copy link
Owner

Hi,

I think I know what you're trying to achieve here, would it be possible to do it like this instead, and get rid of the other changes? On this line.

if (!scope.inputValue || scope.inputValue === '') 

If that doesn't work, could you please provide an example with your code running and explain the issue you're having in more detail?

Thanks!
Hanna

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants