I’m using PHPWord to create a Word document with an interactive dropdown form field. Below is a snippet of my code:
$cell = $table->addCell();
$textRun = $cell->addTextRun();
$textRun->addFormField('dropdown')->setEntries(['Choice 1', 'Choice 2', 'Choice 3'])->setValue(1);
However, when the Word document is opened, the dropdown displays the selected value (“Choice 2”) but does not allow me to change the selected option interactively.
I want to create a dropdown like this:

But the result not my expected. I Can’t change the option and there isn’t any dropdown arrow. I can see the other options when I double click on the field and they appear to be editable (Can add, remove and change sequence). And when I click “OK” to close the popup, the selected option always changes to the first of option (“Choice 1” in this case).

Has anyone else encountered this issue or have any suggestions on what may be causing this and how to fix it? Any help or pointers would be greatly appreciated!
Thanks in advance!