Skip to content

The component needs a fixed property to carry business data #3559

@betgar

Description

@betgar
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

The component needs a fixed property to carry business data, and the fixed attribute can prevent potential conflicts with the component's own properties.

What does the proposed API look like?

// example: Select Options
// Options:  array<{value, label, [disabled, key, title]}>
// add a `extraData` prop for business data
// demo
const options = [
{
key: 1,
value: 1,
title: 'Org',
extraData: {
// some props
}
}
]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions