materialize
materialize copied to clipboard
Autocomplete with "text": "text" value and not image
I am using the latest version of 1.x MaterializeCSS
Currently, Autocomplete only supports "key": "value as image URL"
in data
, but Can we use something like this:-
data: { "+1": "United States", "+91": "India" }
and so on, So that key selected input is "+1" but the value also shows as which country. Please don't ask me to show the image of the country. I want to show the text.
+1