Added support for inputType, introduced delay before hiding the label, clean.