Skip to content

How to use different key for label and Value #208

@ksaurabh4

Description

@ksaurabh4

Please include a clear and concise description of the feature or enhancement you would like to have added to the project.
Hi,

Options object has label and value. like options = [{label:"a",value:"b"}]

But data is coming with different keys, like options = [{id:"a",name:"b"}]

Is there any way by which we can make the component to understand to pick id as value and name as label?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions