Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

fix(uiSelectController): Select by click on non-multiple tagging #1439

Merged
merged 1 commit into from
Feb 18, 2016

Conversation

soyuka
Copy link
Contributor

@soyuka soyuka commented Feb 16, 2016

When in tagging mode, not multiple (taggingLabel === false), selecting
an item by click was instead calling taggingFunc(). This fix checks
for this manual selection, whether ctrl.search is filled or not and
acts accordingly.

closes #1357

When in tagging mode, not multiple (`taggingLabel === false`), selecting
an item by click was instead calling `taggingFunc()`. This fix checks
for this manual selection, whether `ctrl.search` is filled or not and
acts accordingly.

closes angular-ui#1357
@soyuka
Copy link
Contributor Author

soyuka commented Feb 16, 2016

Closes #1335 too

@soyuka
Copy link
Contributor Author

soyuka commented Feb 18, 2016

Ping @aaronroberson would love to see this reviewed!

aaronroberson added a commit that referenced this pull request Feb 18, 2016
fix(uiSelectController): select by click on non-multiple tagging

When in tagging mode, not multiple (taggingLabel === false), selecting
an item by click was instead calling taggingFunc(). This fix checks
for this manual selection, whether ctrl.search is filled or not and
acts accordingly.

closes #1357
@aaronroberson aaronroberson merged commit cb2fcf1 into angular-ui:master Feb 18, 2016
@aaronroberson
Copy link
Contributor

I merged this in 4 hours ago and it will be included in the next release.

aaronroberson pushed a commit that referenced this pull request Jul 19, 2016
#1727)

* When in tagging mode, not multiple (taggingLabel === false), selecting
an item by click was instead calling taggingFunc(). This fix checks
for this manual selection, whether ctrl.search is filled or not and
acts accordingly.

Same changes mad in #1439 that were mysteriously lost.
Fixes #1357, #1496 and #1409

* Simplification to combine ctrl.clickTriggeredSelect in one assignment
@rorlic
Copy link

rorlic commented Aug 4, 2016

In which release is this fix supposed to be included?

Looking at the change set changes, I do not see the changes in the latest release at this time: 0.18.1 (2016-07-10) nor any reference to this bug in the change log.

@user378230
Copy link
Contributor

@rorlic check the last referenced commit (3dfde71)

@rorlic
Copy link

rorlic commented Aug 4, 2016

OK, I see, the fix was "re-applied" after the last release.
So the real question is: when can we expect a new release? 😃

@aaronroberson
Copy link
Contributor

@rorlic The updates have landed in v0.19.0

@rorlic
Copy link

rorlic commented Aug 8, 2016

Thanks! You guys rock.
Unfortunately, it is still not working correctly: when using tagging without label on a dropdown with 2 (or more) items (with or without an item being selected), if you select the second item by clicking it, the dropdown closes but the first one is selected. Selecting an item by using the keyboard works fine.

@aaronroberson
Copy link
Contributor

@rorlic I pushed out v0.19.1 with the built files

@rorlic
Copy link

rorlic commented Aug 10, 2016

It is now working as expected. Thanks again.

@soyuka soyuka deleted the fixselectclicktagging branch August 19, 2016 12:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can´t select elements with mouse click when using TAGGING
4 participants