You can now set the names of the `label` and `value` keys in the options. They default to `label` and `value` to not break the current behavior, but you can also set them to `null`, so that you can use a simple object instead of an array of objects, just like in bootstrap-4-autocomplete.
Examples:
```
const ac = new Autocomplete(field, {
data: [{name: "entry1", text: "The first entry"}, {name: "entry2", text: "The second entry"}],
label: "name",
value: "text",
onSelectItem: ({label, value}) => {
console.log("user selected:", label, value);
}
});
const ac = new Autocomplete(field, {
data: {entry1: "The first entry", entry2: "The second entry"},
label: null,
value: null,
onSelectItem: ({label, value}) => {
console.log("user selected:", label, value);
}
});
```