Gbuomprisco / ngx-chips

Tag Input component for Angular
MIT License
899 stars 359 forks source link

delete space from tag-input field #868

Open nitslucky opened 5 years ago

nitslucky commented 5 years ago

PLEASE MAKE SURE THAT:

I'm submitting a ... (check one with "x")

[ ] bug report => search github for a similar issue or PR before submitting
[ ] support request/question

Notice: feature requests will be ignored, submit a PR if you'd like

Current behavior

If I press space button then its creating some empty space in the tag-input field. But I am not able to delete the empty space using backspace or delete button.

Expected behavior

When there is extra space after one tag. It should be possible to remove the empty space using delete or backspace button.

Minimal reproduction of the problem with instructions (if applicable)

I have attached a screenshot at the bottom from the live demo of tag-input implementation website.

https://angular-mfppay.stackblitz.io/

What do you use to build your app?. Please specify the version

angular-cli

Angular version:

Angular 7.2.1

ngx-chips version:

2.0.0-beta.0

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Chrome 73.0.3683.86 image