Open
Description
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
andgetOptionValue
for complex cases.