New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TagInput: emits an api event when clicking outside of a tag input #410

Closed
jmsmyth opened this Issue Aug 23, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@jmsmyth
Copy link
Contributor

jmsmyth commented Aug 23, 2017

Context

The event type is wrong when adding tags via a blur event

Steps to Reproduce

Go here: https://www.hexagonjs.io/docs/1.12.0/tag-input/

Open the console and enter:

hx.select('#tag-input').api().on('add', console.log)

Type some text in the first example tag input, then click outside it without pressing enter.

The following will be logged:

{value: "...", type: "api"}

It should be

{value: "...", type: "user"}

Your Environment

  • Hexagon Version: 1.12.0

@jmsmyth jmsmyth self-assigned this Aug 23, 2017

@jmsmyth jmsmyth referenced this issue Aug 23, 2017

Merged

TagInput: fix tag add event type #411

5 of 6 tasks complete

@jmsmyth jmsmyth added the Bug label Aug 23, 2017

@c-frater c-frater closed this in #411 Oct 3, 2017

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