Hi @l.bumbalo
Sorry, but without understanding what the code is of you ‘new relationship field’, I have no idea why it is doing this.
Have you debugged the code?
This may not be possible for me to help you with and you may need to contract a developer to help create it