I am updating a field A in a tab by javascript snippet the code works great but the the change is not reflected in another tab

  • 1
  • Question
  • Updated 3 years ago
  • Answered
How to do it ?
Photo of Raya Banerjee

Raya Banerjee

  • 456 Points 250 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Is the second tab using the same model?  This is really how you should do things.  The model will notify all components of changes made and they will update (and indicate that the changes have not yet been committed to the database).  I'm guessing you have the second tab set up on a different model,  which will not be informed of the change until model 1 is saved, and model 2 is requeried.  (You can do those actions when the tab is selected - look for Actions on the tab.  This is another option)