This should be `wtforms.TextField` and `wtforms.validators.Optional`.