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

Proposal: Smaller syntax for simple cases #106

Closed
dimirc opened this issue Jul 13, 2014 · 3 comments
Closed

Proposal: Smaller syntax for simple cases #106

dimirc opened this issue Jul 13, 2014 · 3 comments

Comments

@dimirc
Copy link
Contributor

dimirc commented Jul 13, 2014

There are cases where we might not need to specify templates or anything complex. So what about if we go with a simpler syntax where we could just apply defaults.

Something like this:

<ui-select ng-model="data.selected" 
           choices="person in people" 
           match="person.name"></ui-select>
@zackarychapple
Copy link

I like it, however I have three comments

  1. switch choices to be options to keep with the same ng-options methodology that angular uses
  2. can we add support for something along the line of "person.id as person.name for person in people"
  3. can match be optional?

@hyzhak
Copy link
Contributor

hyzhak commented Aug 8, 2014

good idea 'ng-options' looks much more native

@Jefiozie
Copy link
Contributor

Jefiozie commented Mar 9, 2017

Closing it down as it is a old issue. Please create new issue if this is still a bug/ problem.
Alsoi'm trying to get a good overview of recent bugs and maintaining the repo.

Thanks for understanding.

@Jefiozie Jefiozie closed this as completed Mar 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants