Skip to content

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

@Nowely

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions