Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for html-form-rendering choice fields #4119

Closed
wants to merge 1 commit into from

Conversation

arkadini
Copy link

Description

This adds a few (failing) tests that demonstrate issues with ChoiceField and MultipleChoiceField when rendered into HTML with HTMLFormRenderer, namely:

  • when choice option values/ids are integers then no current selection state is indicated in the rendered output,
  • when option values/ids are strings then the MultipleChoiceField's rendered form field may contain wrongly selected options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants