Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

fix(modeconvert): update AngularJS model with a string. #115

Merged
merged 2 commits into from
Dec 17, 2013
Merged

fix(modeconvert): update AngularJS model with a string. #115

merged 2 commits into from
Dec 17, 2013

Conversation

Zmetser
Copy link

@Zmetser Zmetser commented Dec 2, 2013

parse String $viewValue form “tag1,tag2” to [“tag1”, “tag2”] before
converting to Select2 model

Fixes the test: Updating the select2 model will update AngularJS model with a string.

Oliver Kovacs added 2 commits December 2, 2013 15:57
parse String $viewValue form “tag1,tag2” to [“tag1”, “tag2”] before
converting to Select2 model
@stephennancekivell
Copy link

I can confirm this seems to fix it. Im not entirely sure why.

BaconSoap added a commit that referenced this pull request Dec 17, 2013
fix(modeconvert): update AngularJS model with a string.
@BaconSoap BaconSoap merged commit 482cd86 into angular-ui:master Dec 17, 2013
@BaconSoap
Copy link
Contributor

Fixes #114

@Zmetser Zmetser deleted the fix_model_as_string branch December 17, 2013 07:25
GFoley83 added a commit to GFoley83/ui-select2 that referenced this pull request Feb 17, 2014
Bug related to PR angular-ui#115. Updated code to split on separator option instead of a comma. Splitting on a comma breaks if selected tag contains a comma e.g. selecting "Springsteen, Bruce" would cause two tags.
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.

3 participants