I am trying to extend core image v2 component with some additional properties in the edit dialog. Everything works fine. When we try to modify something in the design dialog ( for ex : Check "Get alt value from DAM" in the design dialog). The same property is not checked in the edit dialog in edit mode.
Similary, i disabled "allowUpload" property in design mode, still I get the option to browse file from system.
How do I enable or disable these properties, in the template design so that it reflects the same in edit mode?
P.S : We are using static temp
Below is the image in design mode

Below is the image in edit mode
lates.