Changing the inject node repeat option from UI

The inject node cannot be programmatically set, but you can do what you want in another way - check out Colin's neat solution or the sophisticated node-red-contrib-msg-resend node.