Select2 not work in edit view

Hi. I work with visual studio 2022 and use from select2.
It works very good in create or index view but in all edit view not works and i can not ser search input .
My edit view is similar create view and there are not a big differents.

Can one help me