angular-input-dropdown icon indicating copy to clipboard operation
angular-input-dropdown copied to clipboard

empty input value by JS

Open AnatolyPruchay opened this issue 8 years ago • 1 comments

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

AnatolyPruchay avatar Sep 05 '16 13:09 AnatolyPruchay

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

hannaholl avatar Sep 28 '16 15:09 hannaholl