Dynamically delete an input field
I have a set of 5 input fields added dynamically previously. ( Input fiekd generated by code method). The 5 input fields user input value is binded to context node. Beside each input field, there is a delete button. If I want to delete the 2nd input field by pressing the 2nd delete button, how do I code it? There is 2 steps here right? Delete the selected context element and ui element.