How can I migrate a theme app extension input setting?

Let’s say I am using a checkbox but I want to switch it to a select box because there are more available options.

How can I do so without breaking the style for existing users?

Hi Benny,

Is this breaking part of this, that if you change to a select box, the previously saved setting will be lost?

Yes, this is exactly my concern. For example, I have a setting like this:

{
        "type": "checkbox",
        "id": "add_a_bounding_box",
        "label": "Add a bounding box",
        "default": true
},

If I turn it to the type of “select”, users who selected the false option will be reverted to the new default option. There is no way to migrate this setting, right?

Looks like you’re correct Benny - if you change the type of input setting, there would not be a way to map the currently selected values of the old setting over to the new setting. So when you update, existing users of the app would need to select new values again.

Thanks for your prompt reply. I am quite disappointed with the development of the theme app extension. It doesn’t have major improvements in the last 2 years. But most app developers & merchants are relying on this extension.