Here\'s the code:
parent.ts
newInputName = \'\'; inputName = \'\'; addName = false; addItem(): void { this.inputNam