Refactor: DRY: Move duplicate code for removing input fields to separate method.
Refactor: DRY: Move duplicate code for removing input fields to separate
method.

itsjeyd/ODE,itsjeyd/ODE,itsjeyd/ODE,itsjeyd/ODE