Display entity as options_select multi-select Below is my code for the view. I have tried multiple = true, multiple_values=true, multiple = multiple. None have worked.

-&gt;setDisplayOptions('form', [
    'type' =&gt; 'options_select',
    'weight' =&gt; 0,
    'settings' =&gt; [
        'match_operator' =&gt; 'CONTAINS',
        'size' =&gt; '60',
        'autocomplete_type' =&gt; 'tags',
        'placeholder' =&gt; '',
    ],
])
The options_select widget will automatically be multi-select if the cardinality of the field is multiple. Make sure your field is created as such, e.g.

use Drupal\Core\Field\FieldStorageDefinitionInterface;

...

$fields['foo'] = BaseFieldDefinition::create('entity_reference')
  ...
  -&gt;setCardinality(FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED)
  -&gt;setDisplayOptions('form', [
    'type' =&gt; 'options_select',
    'weight' =&gt; 0,
    'settings' =&gt; [],
  ])
  ...


Incidentally, options_select has no settings, so you can provide an empty array instead of the autocomplete settings you're currently using.