Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Helper Functions for Simplifying Select Component #555

Open
kmer2016 opened this issue Sep 26, 2024 · 0 comments
Open

Create Helper Functions for Simplifying Select Component #555

kmer2016 opened this issue Sep 26, 2024 · 0 comments
Labels

Comments

@kmer2016
Copy link
Contributor

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant