-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
TypeScript: generic options support #3200
Comments
@DerDorius make a comment on this ticket so I can assign it to you. |
…ct, Selectbutton (#3199) * DataTable/TreeTable: stricter generically typed API #2523 Added Generics for Dropdown. Generics have to be also added in: cascadeselect.d.ts listbox.d.ts multiselect.d.ts selectbutton.d.ts because of the SelectItemOptionsType * #2523 Add Generics to Select Button * #2523 select button generics * #2523 Add Generics to CascadeSelect * #2523 add generics to List Box * #2523 Add Multiselect Generics
… Multiselect, Selectbutton
So I added this: But not for the Cascade Select, because of the Tree Shape of the Object |
Had to revert this it causes just too much chaos for people upgrading. |
So is this a dead end for typescript generics in Primereact? I'd love better Autocomplete for PrimeReact Components. |
I don't think it's dead but when I tried to implement multiselect in my current app it complained I was missing 3 of 4 generics. Then when I started looking at it regular users are not going to be able to understand what they need to implement. |
This issue has been automatically marked as stale. If this issue is still affecting you with the latest version, please leave any comment, and we will keep it open. We are sorry that we have not been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you for your understanding! |
Add generic typing to
SelectItem
type components:The text was updated successfully, but these errors were encountered: