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

itemTemplate is declared as void #397

Closed
mertsincan opened this issue May 4, 2018 · 0 comments
Closed

itemTemplate is declared as void #397

mertsincan opened this issue May 4, 2018 · 0 comments
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@mertsincan
Copy link
Member

Reported By PRO User;

In the DropDown.d.ts the function itemTemplate is declared as itemTemplate?(): void;
In order to return a template the function would require to return an Element.

And according to the examples on https://www.primefaces.org/primereact/#/dropdown
the function definition would also require a parameter to pass the option.

@mertsincan mertsincan added the Type: Bug Issue contains a defect related to a specific component. label May 4, 2018
@mertsincan mertsincan self-assigned this May 4, 2018
@mertsincan mertsincan added this to the 1.6.0 milestone May 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

1 participant