Materialize: How to use key/value in autocomplete

Created on 14 Apr 2017  路  3Comments  路  Source: Dogfalo/materialize

Hi,

Following is the current data structure for autocomplete data

    data: {
      "Apple": null,
      "Microsoft": null,
      "Google": 'http://placehold.it/250x250'
    }

key used as label, value used as source of a image. How can I disable the behavior of using value as image src? and use value for other purpose?

js question

All 3 comments

It looks as something that you should implement by yourself

Did you find a solution yet? I'm facing the same problem.

I'm facing the same problem.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SoproniOli713 picture SoproniOli713  路  3Comments

PhillippOhlandt picture PhillippOhlandt  路  3Comments

serkandurusoy picture serkandurusoy  路  3Comments

artur99 picture artur99  路  3Comments

heshamelmasry77 picture heshamelmasry77  路  3Comments