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

If tagging mode is activated, do not check values #683

Closed

Conversation

Asimov4
Copy link
Contributor

@Asimov4 Asimov4 commented Feb 18, 2015

Motivation: Fix #540
The tagging mode is designed to allow new values to be added to the model.
It does not make sense to check those values against the list of choices when going from model --> view.

@evillemez
Copy link

👍 I definitely need this, hope it lands soon! Good work!

@Asimov4 Asimov4 force-pushed the preserve-model-when-tagging branch 2 times, most recently from a39bc0a to 9c18723 Compare March 8, 2015 06:23
@Asimov4
Copy link
Contributor Author

Asimov4 commented Mar 8, 2015

Just checking, there is no action needed on my side, right? The pull may make it in the next release?
Or do you need me to work on the merge?

@evillemez
Copy link

@Asimov4 According to my view there are merge conflicts - you might need to rebase on the current master branch.

@Asimov4 Asimov4 force-pushed the preserve-model-when-tagging branch 3 times, most recently from a8510a4 to 061f792 Compare March 13, 2015 07:10
@Asimov4
Copy link
Contributor Author

Asimov4 commented Mar 13, 2015

I reapplied the change on top of the HEAD of master.

@Asimov4 Asimov4 force-pushed the preserve-model-when-tagging branch from 99aebc2 to 061f792 Compare March 17, 2015 06:49
Motivation: Fix angular-ui#540

The tagging mode is designed to allow new values to be added to the model.

It does not make sense to check those values against the list of choices when going from model --> view.

Conflicts:
	src/uiSelectMultipleDirective.js
@Asimov4 Asimov4 force-pushed the preserve-model-when-tagging branch from 061f792 to 866bc5c Compare March 17, 2015 07:05
@Asimov4
Copy link
Contributor Author

Asimov4 commented Mar 17, 2015

I pulled the latest changes and the unit tests passed without my change so I guess this is fixed.
Leaving the unit test as a pull request to guarantee this stays fixed.

@wesleycho
Copy link
Contributor

@user378230 this looks good, just adds a test for desired behavior & may close out #540.

@wesleycho wesleycho removed this from the 0.10.x milestone Mar 29, 2016
@wesleycho wesleycho closed this in 852f874 Mar 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ui-select modifying ng-model object
4 participants