Skip to content

Add support for generic in value prop to Select in gravity-ui #35

Description

@Nowely

Objective

The Select currently only support strings for the value and options.value prop. Supporting generic (objects, numbers, strings) will make the library more flexible and useful.

Solution Proposal

Allow the component to accept generic as value.

Definition of done

  • TypeScript interfaces updated to support object types for value prop
  • Backward compatibility maintained
  • Tests added for new scenarios
  • Documentation updated with examples

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions