Changed inputControl to accept TextArea too