Skip to content
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

Select when updated #2

Merged
merged 69 commits into from
Jan 13, 2016
Merged

Select when updated #2

merged 69 commits into from
Jan 13, 2016

Conversation

dwido
Copy link

@dwido dwido commented Jan 13, 2016

Upgraded ui-select from upstream ui-select/ui-select and added the ability to use "select-when" in the markup instead of "on-select"
when you use select-when the method supplied should return a promise, when resolved the select will be selected and rejected the select will NOT change!!!

cdjackson and others added 30 commits May 25, 2015 18:43
This should be an user action, not something automatically run on install.
We're using ui-select in a browserify project, and we don't need/have bower installed. Furthermore it pollutes the development folder with an unused bower_components.
Resolves angular-ui#1032 by hiding the element with opacity, not
visibility. Elements with an opacity of 0 can still be focused.
…ivate

Use opacity, not visibility to hide element
Fix jshint warnings in tests (mostly semicolons)
Do not run bower after install automatically
avoid errors when $select.selected is null
Limit the maximum number of selections allowed in multiple mode
Move ‘var keys = Object.keys(props);’ outside of the items.forEach(…)
loop. As previously written, keys will be re-instantiated on every
iteration of the forEach loop.
As scope() isn't available when debug info is disabled, use controller() to retrieve a controller from an element

Fixes angular-ui#872
Solving bug when selectItems is undefined.
Protect against empty selection causing exception when getting placeHolder
chore(code clean-up): optimize propsFilter
fix(uiSelect): typing goes on last focused component
dimirc and others added 28 commits September 29, 2015 12:17
feat(choices): use object as source iterating over its properties
…ff-attr

fix(templates): autocomplete off to false
…-css

refactor(choices): avoid setting activeItem on mouseenter
…wn-pos

feat(choices): allow to set default dropdown position
remove hardcoded $scope.peopleObj
add input id to search <input> if present on ui-select directive as input-id
make highlight filter work with numeric items
Avoid inline execution of javascript in choices template.
only when the condition is filled the select will change value
dwido added a commit that referenced this pull request Jan 13, 2016
@dwido dwido merged commit ed1cf60 into master Jan 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.