It seems when using the datastore variable to compare what is saved in the database and what is on the server you get a lengthy json blob of the entire datastore if those values differ. I am trying to develop a workaround for this. An example of the comparison in my template is below:
Every time a teacher name is added or removed from the database the integer (14) is incremented or decremented causing the hard-coded value to be changed every time. Is there a fix for this?
It seems when using the datastore variable to compare what is saved in the database and what is on the server you get a lengthy json blob of the entire datastore if those values differ. I am trying to develop a workaround for this. An example of the comparison in my template is below:
<span ng-if="datastore._entries.teacher_name_14_values[0].values.years == entry.values.teacher_name_years_on_server" ...
Every time a teacher name is added or removed from the database the integer (14) is incremented or decremented causing the hard-coded value to be changed every time. Is there a fix for this?