-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Roadmap and design #3
Comments
What about using an attribute that accepts a comprehension_expression like ngOptions Simple version <ui-select options="email for user in users"></ui-select> Or with child-directives for more flexibility <ui-select options="user in users">
<selected>{{user.email}}</selected>
<options>
{{user.name}} <b>{{user.email}}</b>
</options>
</ui-select> |
Not powerful enough to let you customize the list items.
|
@ProLoser I'm experimenting some approaches and will like to keep going pushing changes but not sure how to proceed since I didn't start this repo and wouldn't want push to master branch and maybe complicating your original roadmap. Let me know your opinion, maybe I could create my own repo and later we check back if we merge or something? Cheers |
Add branches or multiple files. I am not married to my code and you are
|
Also, I personally would prefer to see as little styling as possible. The Secondly, the ability for the stylesheet to work depends primarily on the Hopefully that makes sense. I'm pushing this same approach on the ng-grid
|
@ProLoser I agree that "themes" will be a nice feature, but maybe we can focus on one style for now and later add this ability. Take a look at some changes I committed just a moment ago. To be honest I'd like to have a fully functional directive asap since its really needed it in a working project that I'm right now, so let me know your comments of the changes I did and what do you think of merging to master and keep going with that. |
I see multiselect is on the roadmap. Any idea when that will be implemented? |
^ @gabegorelick. I would like to throw away select2 for this, one day hopefully! |
Getting this to work with Angular 1.2.* has been a pain in the arse. Any thoughts about updating the plunker demo and fixing the $sce errors? I haven't been able to figure out how to get the highlight custom filter to work as a result. |
👍 for implementing multiselect. |
+1 for multiselect. Is tagging on the roadmap? |
+1 for multiselect, +10 for tags, +100 if it also supports editing tags a la https://github.com/ivaynberg/select2/issues/116 |
Is there an option to add a call to action in the event that the specified option is not among the ones the select is constructed on? e.g. Add the option to add an element to the list in the event it does not exist already. |
+1 for JohnQ's question. I was looking for the same ability to be able to add new options even if they are not present in the list, but user just types them in. |
Editing tags, ajax result... what is next? fells more like it is turning out to be a Typeahead thing. kind of beats the purpose of being a select with static options. |
@jimmywarting technically this was a continuation of select2, which I think may have been around before typeahead. |
Don't have anything against it... maybe the only thing you will need to include then is this tool |
@seiyria @jverghese Tagging functionality is in PR #327, FYI. Hoping for it to be merged soon. |
We need |
Is there a way to do the equivalent of ui-select2's createSearchChoice? I need to allow a person to enter a name if it isn't in the list of existing options. |
+1 for "Is there a way to do the equivalent of ui-select2's createSearchChoice? I need to allow a person to enter a name if it isn't in the list of existing options." |
+1 for "Is there a way to do the equivalent of ui-select2's createSearchChoice? I need to allow a person to enter a name if it isn't in the list of existing options." or the selectize 'item Creation' function |
+1. Just hacked the tagging feature to give this kind of behavior, lol wasn't pretty. +1 for this and thanks for tagging! |
@j-walker23 @michaelhoes @dubcanada @lasimon This is available in v0.9.8. |
Hi, It is not working with angular verision: 1.2.10 |
Thank you @brianfeister, you guys are the difference between a shitty day programming and a smooth day. |
Does select2 support using matchers (finding all the texts starting with) like the jquery select supports? |
Can I help with maintaining this repo? |
@homerjam Talk with @aaronroberson he is the one maintaining the library now I think. |
First of all thanks everyone for this awesome component! Are there any plans to port this to angular 2? Is help wanted in that area? |
@fru I don't think there are any plans on angular 2 yet. At the moment we are trying to handle all the bugs. |
Closing it down as it is a very old issue for now this repo is focusing on handling the bugs. |
I threw this together to pretty much scrape some features I am hoping this repo eventually is capable of doing: https://github.com/angular-ui/ui-select/wiki/Roadmap
One of the the things I'm focused on right now is easy-to-customize data, access to internal data, and templates.
One concern is the ability to specify a custom list-item template (currently possible) and a custom selected template (not possible, just uses a button). Perhaps we should break this up into multiple tags?
These child-directives COULD in fact be optional, and if not specified, simply generate
<li><a>{{value}}</a></li>
Secondly, if you don't specify
<selected>
or<options>
but you DO specify a template we could use THAT one for both. Perhaps instead of making you create the<li>
tag and it's related attributes we can do it for you and you simply specify the contents of each list-item and the selected-item?The text was updated successfully, but these errors were encountered: