-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat(Header & Footer): Add header & footer to the dropdown list. #1930
Conversation
HI @felixmosh Thanks looking forward on the review. |
502340a
to
fdae853
Compare
Done. |
left: 0px !important; | ||
top: 0px !important; | ||
left: 0 !important; | ||
top: 0 !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any specific reason why you changed the 0px to 0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Convention wise, in css if you have 0px it should be 0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the important needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don`t know it was there before me :]
} | ||
|
||
.select2-result-single { | ||
padding-left: 0; | ||
} | ||
|
||
.select2-locked > .select2-search-choice-close{ | ||
display:none; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you fix all the spacing in this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -1,5 +1,4 @@ | |||
<div ng-show="$select.open" class="ui-select-choices ui-select-dropdown selectize-dropdown" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you explain why you removed all the classes from this div?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I`ve moved the dropdown classes and functionality to here https://github.com/angular-ui/ui-select/pull/1930/files/fdae8530b84f3426b3b411da2cf840248a09155a#diff-55a8341ed55143ae563b5f1e54237ca8R13
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missed that one.
@@ -1,7 +1,7 @@ | |||
'use strict'; | |||
|
|||
describe('ui-select tests', function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you fix the spacing in this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comments 😄
Second could you have a look at the wiki this is from a PR before. Maybe you can update it when this PR is merged. |
The wiki is up to date to the current implementation :). |
How we can use header/footer now? I mean what URL we must add to bower.json? |
@ahules Do you mean when this will be release so that you can use it with bower? |
@Jefiozie yes, now I use TechNaturally/ui-select#feat-header-footer-bower. But that realisation of header/footer triggers click twice. |
This will be released in the newer version of this repo. For now i'm not making any experimental branches. As i need to maintain that branch also and it is hard enough to maintain the repo on it own. Hope you understand. |
@Jefiozie, Can you help? I will create fork and merge this commit manually? |
I don't have the time to help you having a hard time to maintaining this repo. |
Hi @felixmosh Could you resolve the conflict? (don't know why this is suddenly here) afte this i will merge the PR. Thanks for your help. |
Done |
@Jefiozie why this PR was removed? |
There where two main reasons.
|
@Jefiozie, I've fixed that already, I will create a new PR. |
Fresh PR #1982 |
This feature allows to add header & footer to the dropdowns for each of the default templates.


