I am using
this.rawValue = this.parent.parent.index + 1;
to make a line counter and it seemed to have worked in past but through some changes I guess something broke. Now it works at first but when you save and re-opens, all lines are labeled as 1. Any one have any idea what this could be?