We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I do not know why the typeaheadjs editable shows the value field instead of the text field.
This is my code:
<a href="javascript:void(0)" class="x-birth_place_id editable-empty editable editable-click" data-name="x-birth_place_id" data-type="typeaheadjs" data-pk="1" data-url="url-to-post" data-value="" data-title="Edit" title="" data-emptytext="Add" data-original-title="Edit">Add</a> jQuery('.x-birth_place_id').editable({ typeahead: { minLength: 3, highlight: true, limit: 10, remote: '...?q=%QUERY', } });
This is the result of the remote URL: [{"value":1,"text":"First text"},{"value":2,"text":"Second text"},{"value":3,"text":"Third text"}]
[{"value":1,"text":"First text"},{"value":2,"text":"Second text"},{"value":3,"text":"Third text"}]
But instead of seeing the "First text" value, I see 1 (the value field).
How can I solve it?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I do not know why the typeaheadjs editable shows the value field instead of the text field.
This is my code:
This is the result of the remote URL:
[{"value":1,"text":"First text"},{"value":2,"text":"Second text"},{"value":3,"text":"Third text"}]
But instead of seeing the "First text" value, I see 1 (the value field).
How can I solve it?
The text was updated successfully, but these errors were encountered: