Some help?
if we use a widget for taxonomy term in some Content types, for e. g

admin/structure/types/manage/article
MANAGE FIELDS - WIDGET

term reference tree (https://www.drupal.org/project/term_reference_tree)
or
autocomplite delux (https://www.drupal.org/project/autocomplete_deluxe)

in drupalgap mobile-application, term is displayed as a number (id term), rather than the term title
How to fix it?

Comments

veshiyi2003 created an issue. See original summary.

tyler.frankenstein’s picture

Status: Active » Postponed (maintainer needs more info)

There is a helper function in drupalgap.module : _drupalgap_add_term_data_to_entities : http://cgit.drupalcode.org/drupalgap/tree/drupalgap.module

This adds the term name to the JSON results so it can be delivered to the app. The DrupalGap SDK then *should* display the name instead of the term id via the taxonomy_field_formatter_view() function: https://github.com/signalpoint/DrupalGap/blob/7.x-1.x/src/modules/taxono...