When selecting an option, two are displayed. One of the selected has '--------'

I am using select2 in a django form. It works perfect, but when I first select an option, select2 puts a tag with ‘---------’ and then the option I select. I don’t know how to fix that.