Update FIELD_TYPE_MAP in helpers.py


When adding values such as custom register form, values requiring checkbox are added, under registration_form.py,
`field_type = field_options.get ('field_type', FormDescription.FIELD_TYPE_MAP.get (field .__ class __))` line returns None and receives that error `Field type 'None' not recognized for registration extension field 'choices'.`

So I wanted to add this value. I also share the relevant address with the justification:

Please give the pull request a short but descriptive title.
Use [conventional commits](https://www.conventionalcommits.org/) to separate and summarize commits logically.

Use this template as a guide. Omit sections that don't apply. You may link to information rather than copy it.
More details about the template are at https://github.com/edx/open-edx-proposals/pull/180
(link will be updated when that document merges)


    1. Description

Describe what this pull request changes, and why. Include implications for people using this change.
Design decisions and their rationales should be documented in the repo (docstring / ADR), per
[OEP-19](https://open-edx-proposals.readthedocs.io/en/latest/oep-0019-bp-developer-documentation.html), and can be
linked here.

Useful information to include:

  • Which edX user roles will this change impact? Common user roles are "Learner", "Course Author",
    "Developer", and "Operator".

  • Include screenshots for changes to the UI (ideally, both "before" and "after" screenshots, if applicable).

  • Provide links to the description of corresponding configuration changes. Remember to correctly annotate these


    1. Supporting information

Link to other information about the change, such as Jira issues, GitHub issues, or Discourse discussions.
Be sure to check they are publicly readable, or if not, repeat the information here.


    1. Testing instructions

Please provide detailed step-by-step instructions for testing this change.


    1. Deadline

"None" if there's no rush, or provide a specific date or event (and reason) if there is one.


    1. Other information

Include anything else that will help reviewers and consumers understand the change.

  • Does this change depend on other changes elsewhere?

  • Any special concerns or limitations? For example: deprecations, migrations, security, or accessibility.


Wajeeha Khalid
March 25, 2021, 11:02 AM

sure i can pull this in our upcoming sprint.

Natalia Berdnikov
March 23, 2021, 8:07 PM

Can your team please review this?

Your pinned fields
Click on the next to a field label to start pinning.


Zainab Amir


Open Source Pull Request Bot

Contributor Name

Melih Çolpan



Github Lines Added


Github Lines Deleted