Update FIELD_TYPE_MAP in helpers.py

Description

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:
https://discuss.openedx.org/t/field-type-none-not-recognized-for-registration-extension-field-company/3715

<!--
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.  

    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
    changes.

  1.  

    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.  

    1. Testing instructions

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

  1.  

    1. Deadline

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

  1.  

    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.

Activity

Show:
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.

Assignee

Zainab Amir

Reporter

Open Source Pull Request Bot

Contributor Name

Melih Çolpan

Repo

edx/edx-platform

Github Lines Added

1

Github Lines Deleted

0