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

[BUG] Certain props are not present in Select component #41

Closed
steve1316 opened this issue Dec 25, 2021 · 1 comment · Fixed by #40
Closed

[BUG] Certain props are not present in Select component #41

steve1316 opened this issue Dec 25, 2021 · 1 comment · Fixed by #40
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@steve1316
Copy link

Describe the bug
Props like searchable and scrollToSelectedOption as shown in the SelectProps page in your docs are not present in the Select component as indicated by Typescript.

To Reproduce
Steps to reproduce the behavior:

  1. Use v1.2.0
  2. Type the following with data of your choice:
<SelectProvider>
    <Select options={data} searchable={true} />
</SelectProvider>
  1. Typescript throws an error:
Property 'searchable' does not exist on type 'IntrinsicAttributes & SelectProps & RefAttributes<SelectRef>'.ts(2322)

Expected behavior
Typescript should not throw an error.

Screenshots
If applicable, add screenshots to help explain your problem.
Code_QYiFKU8Xnw

@steve1316 steve1316 added bug Something isn't working documentation Improvements or additions to documentation labels Dec 25, 2021
@irekrog
Copy link
Collaborator

irekrog commented Dec 26, 2021

Hi @steve1316
Thanks for reporting. This bug has been fixed in v1.3.0.

@irekrog irekrog closed this as completed Dec 26, 2021
@irekrog irekrog linked a pull request Mar 9, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants