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

[feat]: Preserve type for onValueChange in Select component. #3634

Open
2 tasks done
AbhinasRegmi opened this issue Apr 30, 2024 · 0 comments
Open
2 tasks done

[feat]: Preserve type for onValueChange in Select component. #3634

AbhinasRegmi opened this issue Apr 30, 2024 · 0 comments

Comments

@AbhinasRegmi
Copy link

AbhinasRegmi commented Apr 30, 2024

Feature description

<SelectItem value={something <- this has sometype}>something</ SelectItem>

OnClick events to select items the value I get from onValueChange((i) => {//here i is of type string})

How to make it so the type provided in value will be the type of param in onValueChange.

Affected component/components

Select

Additional Context

No response

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues and PRs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant