Announcement

Collapse
No announcement yet.

mode.set() not setting the value in Quote

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • mode.set() not setting the value in Quote

    I've added a field under shippingCost in Quote. I rendered a view from an entity to get a field that is currency. When I want to, this.model.set({'field':model.get('field')}), the value isn't set or visible. But when I use, this.model.save({'field':model.get('field')}), the value is visible and set in the db before I click update. I want to set the value and make it visible the same way an item is added to the itemlist, which is if I click update the value is set in the db, not before I click update. Any assistance would be appreciated.

  • #2
    after I update the value was displayed with, this.model.set, but it was displayed after I update, not before. I was to display the value before I update, not after.
    Last edited by elbowprogrammer; 03-11-2016, 02:25 PM. Reason: this.model.set works,but after updated

    Comment


    • #3
      I want to change a value that is in a different module using getmodelfactory, but this.model.set doesn't work, this.model.save does. Is there a way to set the value, so if I click cancel the value in another module hasn't changed, but change when I click save/update?

      Comment

      Working...
      X