For products in the admin, I need to have a custom attribute which contains the list of countries. It needs to be multiselect.
I created a multi select attribute in the admin, left the options blank, and in the database changed the source_model to 'Magento\Catalog\Model\Product\Attribute\Source\Countryofmanufacture'
This appeared correctly on a product page in the admin, however when selecting one or more countries and saving, the countries do not save.
What am I doing wrong?