This is a heavily modified version of the original code by mithicher. The previous fork only worked one way so once the component was rendered the options list could not be changed.
:options - This is an array of the format [ 'id' => 'any', 'title' => 'string', 'subtitle' => 'string' ] for the items in the select dropdown
:selectedItems - A string array of the selected items id's, this can be used in-place of x-model, kept over from the original implementation although I haven't really found a use for it.
id - required if multiple of the same wire:model binding is used