Closed KeithHenry closed 6 years ago
I have added a demo example covering the pre-filling of a paper-chip-input with autocomplete on.
With upcoming major release values property will contain only values.
You can use it to prefill a paper-chip-input, to retrieve values for your labels and so on.
Values will often be object keys, of the same type as the
datasource
, something like:I would expect this to display two chips with labels "one" and "four", but instead it shows them with no values.
Now suppose I remove those two chips and select "three". That displays as expected, but:
Outputs:
Given that I have specified an object key with
value-property="id"
I would expect thevalues
property to be[3]
.