By convention in Aria Templates, properties starting with an underscore `_` are supposed to be protected (not to be accessed from outside the class).
Instead of directly setting a protected property on the controller, I think it would be better to pass the index as a parameter of the `editValue` method, and to set the protected property from inside the controller.