Skip to content

Create Helper Functions for Simplifying Select Component #555

Open
@kmer2016

Description

@kmer2016

Description and goal

Based on dicussions here, we can make the Select component easier to use, especially for simple data types (e.g strings). This would reduce the need to always pass getOptionLabel and getOptionValue callbacks for basic use cases.

Acceptance criteria

  • Implement a helpers that provides default getOptionLabel and getOptionValue for simple data types like strings.
  • Ensure backward compatibility with the current Select component, allowing users to still pass custom getOptionLabel and getOptionValue for complex cases.

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