Skip to content

Use custom property names for select #765

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

Open
alber70g opened this issue Sep 5, 2016 · 1 comment
Open

Use custom property names for select #765

alber70g opened this issue Sep 5, 2016 · 1 comment

Comments

@alber70g
Copy link

alber70g commented Sep 5, 2016

Is it possible to use custom property names for a select.
For example I have the following array:

[
  { 
    id: 1,
    name: "blaat"
  },
  {
    id: 2,
    name: "another blaat"
  }
]

And define in the metadata to use id and name as respectively value and name?

@Anthropic
Copy link
Member

@alber70g I have added this to the Material repo and I will try to find time to add it to the Bootstrap one also, but as of right now it doesn't give you the option, you would have to parse it on load. I am not sure if the dynamic select add-on can do it or not, may be worth checking that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants