angular-schema-form icon indicating copy to clipboard operation
angular-schema-form copied to clipboard

Use custom property names for select

Open alber70g opened this issue 7 years ago • 1 comments

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?

alber70g avatar Sep 05 '16 15:09 alber70g

@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.

Anthropic avatar Sep 21 '16 07:09 Anthropic