type parameter added for MaskedInput