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

Noblecraft/1192 #1193

Closed
wants to merge 2 commits into from
Closed

Conversation

noblecraft
Copy link

this is a proposed fix for issue #1192

sorry its a bit messy, first time contributing to ui-select.

@@ -19,7 +19,7 @@ uis.directive('uiSelect',

//Multiple or Single depending if multiple attribute presence
if (angular.isDefined(tAttrs.multiple))
tElement.append("<ui-select-multiple/>").removeAttr('multiple');
tElement.append("<ui-select-multiple dict=\"" + tAttrs.dict + "\"/>").removeAttr('multiple');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should switch to single quote strings to avoid the awkward escaping of the double quote.

@wesleycho
Copy link
Contributor

This needs changes to dist reverted, rebasing, and tests added for this new feature.

@user378230
Copy link
Contributor

Closing as I don't think this is a particular good solution to the problem. Let's see if anyone else is able to come up with something else.

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.

3 participants