I'm creating a Flow Screen LWC component. In my
.js-meta.xml file, I added a few properties. I loaded the component in the flow editor, and realized that I forgot to make the properties required. I removed my component and cancelled the edit, then I update the file and tried to deploy with SFDX. I get the error:
The property 'objectApiName' can’t be required without specifying a default value
because the component is being referenced in these flow versions: ''
I understand that if a component already exists in a flow, you can't change a property to be required without also providing a default, in case that property isn't set in the existing flow where the component is used. However, I was careful to remove my component, and then cancel the flow edit entirely. No version of any flow has been saved with this component present in the flow. Even the error message,
referenced in these flow versions: '', indicates a null flow version. How can I get the system to forget about my cancelled edit and let me save my changes? I don't want a default value on these properties; they need to be supplied by the config user.