I have created an image field that a user can select via a checkbox. The image field is hidden by default. If the user clicks a checkbox the field becomes visible. Clicking the field allows the user to embed an image.
I am attempting to set a "clear image" action, but for some reason if I set the image field rawValue to null the image field disappears and will not come back. The only command I am associating to the button is:
COPQImage.rawValue = null;
This makes the field disappear as if it was reset to hidden, and clicking the check box to attach an image will not bring the field back. Is this a bug, or is there something else that needs to happen to an image field if you set it's rawValue to null?