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

Dropdown "defaultValue" typings are incorrect #4022

Closed
xumix opened this issue Aug 4, 2020 · 2 comments
Closed

Dropdown "defaultValue" typings are incorrect #4022

xumix opened this issue Aug 4, 2020 · 2 comments

Comments

@xumix
Copy link

xumix commented Aug 4, 2020

Bug Report

Dropdown "defaultValue" typings are incorrect
Because of this there is no way to preselect multiple string or number values

Steps

Open Dropdown.d.ts, find defaultValue definition

Expected Result

defaultValue?: string | number | boolean | number[] | string[] | boolean[]

Actual Result

defaultValue?: string | number | boolean | number | string | boolean[]

Version

v. 1.1.1

@layershifter
Copy link
Member

layershifter commented Aug 4, 2020

Thanks for reporting, but this is a duplicate #4017, the fix was not released yet.

@xumix
Copy link
Author

xumix commented Aug 4, 2020

*sigh
Thanks, will look into closed bugs next time

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

2 participants