If you want entries separated by the comma caracter then you need to use an autocomplete_light.TextWidget
. However, it doesn't work for relations, it will work only for CharField
and the like.
MultipleChoiceWidget
maintains a sane hidden select element. The select needs to contain <option>
which have value=the_foreign_key
. If this select was maintained by an input with a comma separated list of object titles, then a user could checkmate it by modifying a previously entered object name - not to mention that an object name change at the time of selection would checkmate the autocomplete as well.