Checklist
Steps to reproduce
- in a serializer, have a MultipleChoiceField with the following four choices:
'1', '2', '12', '}'
- in the HTML form representation:
(see #4119 for an exact test case)
Expected behavior
Choice 12, and only that one, is shown as selected.
Actual behavior
All four choices are shown as selected.
Checklist
masterbranch of Django REST framework.Steps to reproduce
'1','2','12','}'12(see #4119 for an exact test case)
Expected behavior
Choice
12, and only that one, is shown as selected.Actual behavior
All four choices are shown as selected.