Error: Storefront properties changed
• Magento2
Error when creating custom widget
When you are creating a custom widget for Magento2 you may encounter following error:
Storefront Properties Changes have been made to this section that have not been saved. This tab contains invalid data. Please resolve this before saving.
Widget Options Changes have been made to this section that have not been saved. This tab contains invalid data. Please resolve this before saving.
I highly recomment checking your declared namespace. In may case the namespace did not match, after I moved the file, resulting in this speaking error above.
<?php
namespace Vendor\Modulename\Block\Adminhtml\Model\Widget;