Subclass of UITextField that support validator.