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

Ability to use any object instead of a SelectItem #4274

Closed
cagataycivici opened this issue Oct 26, 2017 · 1 comment
Closed

Ability to use any object instead of a SelectItem #4274

cagataycivici opened this issue Oct 26, 2017 · 1 comment
Assignees
Labels
Type: New Feature Issue contains a new feature or new component request
Milestone

Comments

@cagataycivici
Copy link
Member

Components like dropdown require SelectItem instances as options, also allow arbitrary objects as well by introducing optionLabel property that takes the name of the property of the object to use as label.

@cagataycivici cagataycivici self-assigned this Oct 26, 2017
@cagataycivici cagataycivici added the Type: New Feature Issue contains a new feature or new component request label Oct 26, 2017
@cagataycivici cagataycivici added this to the 4.3.0 milestone Oct 26, 2017
@cagataycivici cagataycivici changed the title Ability to use any object instead of a SelectITem Ability to use any object instead of a SelectItem Oct 26, 2017
cagataycivici pushed a commit that referenced this issue Oct 26, 2017
cagataycivici pushed a commit that referenced this issue Oct 26, 2017
cagataycivici pushed a commit that referenced this issue Oct 26, 2017
cagataycivici pushed a commit that referenced this issue Oct 26, 2017
@AminTizdastAzar
Copy link

Using any Object instead of select Item is awesome but how can we implement for example 'Select city' with value null to be able to change the selected item to null.(This is easy with SelectItem)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Feature Issue contains a new feature or new component request
Projects
None yet
Development

No branches or pull requests

2 participants