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

array options items must have item & id properties plz how to change there properties #88

Open
TayariAsma opened this issue Apr 4, 2022 · 3 comments

Comments

@TayariAsma
Copy link

No description provided.

@TayariAsma TayariAsma changed the title array options items must have item & id properties houw to change this properties array options items must have item & id properties plz how to change this properties Apr 4, 2022
@TayariAsma TayariAsma changed the title array options items must have item & id properties plz how to change this properties array options items must have item & id properties plz how to change there properties Apr 4, 2022
@miloscopic
Copy link

I fixed it by mapping my array and adding a new field name, probably this is fastest way to keep going until this fix go live

@TayariAsma
Copy link
Author

thanks :D

@muhammaddawood129
Copy link

No description provided.

const dataList = data?.map(s => ({
item: s.title,
id: s.count
}))

in my case it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants