Have you managed to solve the issue?
Maybe my blog here could help a bit:
I have to initialize multiple inputs in it, it could give you an overview of how to do it.
I also wouldn’t mind checking your particular service, but you would have to share it (which I realize might not be possible).