Adding the possibility of having the property defined by maxLength html. Useful for generic masks (only numbers, letters only ...)