The json form text input line returned by the autocomplete widget will be [{id = 1, lable = "lable1"}, ......]
[{id = 1,label="label1"},{id = 2, label="label2"},......]
and I want the displayed value of the input field to be a "label", which works by default, but I want the input value to be "id" when I submit the form.
Many thanks!
source
share