DrupalGap icon indicating copy to clipboard operation
DrupalGap copied to clipboard

List(text) Field on user/edit/% Always Show Default Values

Open mkinnan opened this issue 8 years ago • 2 comments

I have a List(text) field for user entities. Whenever the field loads at user/edit/% in the app the value always loads as the default value. Even when I save the field in the app with a different value, then revisit user/edit/% right after saving, the loaded values are the defaults even though I can see they were changed when viewing the user page on the website.

mkinnan avatar Jan 15 '17 20:01 mkinnan

@mkinnan Do you have the reloadPage option set to true on your links to the user/%/edit page?

signalpoint avatar Jan 17 '17 01:01 signalpoint

@signalpoint Yes, I am using a reload page:

      items.push(bl('My Account', 'user/' + Drupal.user.uid, {
          attributes: {
            'data-icon': 'lock',
            'class': 'menulinks'
          },
          reloadPage:true
      }));

I have both checkboxes and List(text) fields for user entities. The checkboxes work fine. It's the List(text) fields that I noticed not behaving correctly.

mkinnan avatar Jan 17 '17 02:01 mkinnan