We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
tags[0]
object
SuggestionListItem, expected
Hi,
I got this Warning when I click on an item :
Warning: Failed prop type : Invalid prop tags[0] of type object supploed to SuggestionListItem, expected string`
I tried this example : <InputAutoSuggest style={{ flex: 1 }} staticData={[ {someAttribute: 'val1', details: { id: '1', name:'Paris', country:'FR', continent:'Europe'}}, {someAttribute: 'val2', details: { id: '2', name: 'Pattanduru', country:'PA', continent:'South America'}}, {someAttribute: 'val3', details: { id: '3', name: 'Para', country:'PA', continent: 'South America'}}, {someAttribute: 'val4', details: { id: '4', name:'London', country:'UK', continent: 'Europe'}}, {someAttribute: 'val5', details: { id: '5', name:'New York', country: 'US', continent: 'North America'}}, {someAttribute: 'val6', details: { id: '6', name:'Berlin', country: 'DE', continent: 'Europe'}}, ]} itemFormat={{id: 'details.id', name: 'details.name', tags:['details.continent', 'details.country']}} />
<InputAutoSuggest style={{ flex: 1 }} staticData={[ {someAttribute: 'val1', details: { id: '1', name:'Paris', country:'FR', continent:'Europe'}}, {someAttribute: 'val2', details: { id: '2', name: 'Pattanduru', country:'PA', continent:'South America'}}, {someAttribute: 'val3', details: { id: '3', name: 'Para', country:'PA', continent: 'South America'}}, {someAttribute: 'val4', details: { id: '4', name:'London', country:'UK', continent: 'Europe'}}, {someAttribute: 'val5', details: { id: '5', name:'New York', country: 'US', continent: 'North America'}}, {someAttribute: 'val6', details: { id: '6', name:'Berlin', country: 'DE', continent: 'Europe'}}, ]} itemFormat={{id: 'details.id', name: 'details.name', tags:['details.continent', 'details.country']}} />
Thanks !!
The text was updated successfully, but these errors were encountered:
Getting the same warning when I selected the drop down. Is there a fix for this?
Sorry, something went wrong.
No branches or pull requests
Hi,
I got this Warning when I click on an item :
Warning: Failed prop type : Invalid prop
tags[0]
of typeobject
supploed toSuggestionListItem, expected
string`I tried this example :
<InputAutoSuggest style={{ flex: 1 }} staticData={[ {someAttribute: 'val1', details: { id: '1', name:'Paris', country:'FR', continent:'Europe'}}, {someAttribute: 'val2', details: { id: '2', name: 'Pattanduru', country:'PA', continent:'South America'}}, {someAttribute: 'val3', details: { id: '3', name: 'Para', country:'PA', continent: 'South America'}}, {someAttribute: 'val4', details: { id: '4', name:'London', country:'UK', continent: 'Europe'}}, {someAttribute: 'val5', details: { id: '5', name:'New York', country: 'US', continent: 'North America'}}, {someAttribute: 'val6', details: { id: '6', name:'Berlin', country: 'DE', continent: 'Europe'}}, ]} itemFormat={{id: 'details.id', name: 'details.name', tags:['details.continent', 'details.country']}} />
Thanks !!
The text was updated successfully, but these errors were encountered: