sub classed input row to handle multiple types of widget. Added "type" option menu