Skip to content
This repository has been archived by the owner on Nov 22, 2021. It is now read-only.

AddOnBlur suggestion #172

Closed
daric81 opened this issue Jun 24, 2014 · 1 comment
Closed

AddOnBlur suggestion #172

daric81 opened this issue Jun 24, 2014 · 1 comment

Comments

@daric81
Copy link

daric81 commented Jun 24, 2014

Hi, I like the idea of adding tags when the control loses focus. However when you just tab into a tags control and then tab out, this sets the place-holder colour to red in IE 11. In chrome the cursor/caret colour is changed to red. This is using the simple tags demo.

I personally would not expect this behaviour if a new tag's length is zero . I cant think of an instance where I would want to enter a tag value of empty string. Not sure whether others agree, so just a suggestion :)

@mbenford
Copy link
Owner

That's actually a bug related to tag validation, which currently ignores empty values.

I'll add it to the next release. Thanks for reporting it! 👍

@mbenford mbenford added this to the 2.1.0 milestone Jun 25, 2014
Bessonov pushed a commit to Bessonov/ngTagsInput.ie8 that referenced this issue May 3, 2015
Prevent an empty tag from being added when a certain combination of
validation options allows it, which can also set the input as invalid
in some cases.

Closes mbenford#172
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants