Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
angular-ui-select
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Custom Issue Tracker
Custom Issue Tracker
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
angularjs
angular-ui-select
Commits
f73bbd2a
Commit
f73bbd2a
authored
Dec 27, 2018
by
bingchuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[dev]支持悬浮
parent
5767968c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
select.js
dist/select.js
+3
-2
No files found.
dist/select.js
View file @
f73bbd2a
...
...
@@ -1734,7 +1734,8 @@
//Check model array of all items available
if
(
!
checkFnMultiple
(
data
,
inputValue
[
k
]))
{
//If not found on previous lists, just add it directly to resultMultiple
resultMultiple
.
push
(
inputValue
[
k
]);
//选择的值如果在列表没有不添加
//resultMultiple.push(inputValue[k]);
}
}
}
...
...
@@ -2489,4 +2490,4 @@ angular.module("ui.select").run(["$templateCache", function ($templateCache) {
$templateCache
.
put
(
"select2/no-choice.tpl.html"
,
"<div class=
\"
ui-select-no-choice dropdown
\"
ng-show=
\"
$select.items.length == 0
\"
><div class=
\"
dropdown-content
\"
><div data-selectable=
\"\"
ng-transclude=
\"\"
></div></div></div>"
);
$templateCache
.
put
(
"select2/select-multiple.tpl.html"
,
"<div class=
\"
ui-select-container ui-select-multiple select2 select2-container select2-container-multi
\"
ng-class=
\"
{
\
'select2-container-active select2-dropdown-open open
\
': $select.open,
\
'select2-container-disabled
\
': $select.disabled}
\"
><ul class=
\"
select2-choices
\"
><span class=
\"
ui-select-match
\"
></span><li class=
\"
select2-search-field
\"
><input type=
\"
search
\"
autocomplete=
\"
off
\"
autocorrect=
\"
off
\"
autocapitalize=
\"
off
\"
spellcheck=
\"
false
\"
role=
\"
combobox
\"
aria-expanded=
\"
true
\"
aria-owns=
\"
ui-select-choices-{{ $select.generatedId }}
\"
aria-label=
\"
{{ $select.baseTitle }}
\"
aria-activedescendant=
\"
ui-select-choices-row-{{ $select.generatedId }}-{{ $select.activeIndex }}
\"
class=
\"
select2-input ui-select-search
\"
placeholder=
\"
{{$selectMultiple.getPlaceholder()}}
\"
ng-disabled=
\"
$select.disabled
\"
ng-hide=
\"
$select.disabled
\"
ng-model=
\"
$select.search
\"
ng-click=
\"
$select.activate()
\"
style=
\"
width: 34px;
\"
ondrop=
\"
return false;
\"
></li></ul><div class=
\"
ui-select-dropdown select2-drop select2-with-searchbox select2-drop-active
\"
ng-class=
\"
{
\
'select2-display-none
\
': !$select.open || $select.items.length === 0}
\"
><div class=
\"
ui-select-choices
\"
></div></div></div>"
);
$templateCache
.
put
(
"select2/select.tpl.html"
,
"<div class=
\"
ui-select-container select2 select2-container
\"
ng-class=
\"
{
\
'select2-container-active select2-dropdown-open open
\
': $select.open,
\
'select2-container-disabled
\
': $select.disabled,
\
'select2-container-active
\
': $select.focus,
\
'select2-allowclear
\
': $select.allowClear && !$select.isEmpty()}
\"
><div class=
\"
ui-select-match
\"
></div><div class=
\"
ui-select-dropdown select2-drop select2-with-searchbox select2-drop-active
\"
ng-class=
\"
{
\
'select2-display-none
\
': !$select.open}
\"
><div class=
\"
search-container
\"
ng-class=
\"
{
\
'ui-select-search-hidden
\
':!$select.searchEnabled,
\
'select2-search
\
':$select.searchEnabled}
\"
><input type=
\"
search
\"
autocomplete=
\"
off
\"
autocorrect=
\"
off
\"
autocapitalize=
\"
off
\"
spellcheck=
\"
false
\"
role=
\"
combobox
\"
aria-expanded=
\"
true
\"
aria-owns=
\"
ui-select-choices-{{ $select.generatedId }}
\"
aria-label=
\"
{{ $select.baseTitle }}
\"
aria-activedescendant=
\"
ui-select-choices-row-{{ $select.generatedId }}-{{ $select.activeIndex }}
\"
class=
\"
ui-select-search select2-input
\"
ng-model=
\"
$select.search
\"
></div><div class=
\"
ui-select-choices
\"
></div><div class=
\"
ui-select-no-choice
\"
></div></div></div>"
);
}]);
\ No newline at end of file
}]);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment