new class (NCInputText) to share code between date, time and
input fields