@for (connection of connections; track connection.inputId) { }
Output
Input
Input