defaultValue on a custom component is not updating the previous pages that were using it

Hello, I added a new default value for a custom component like :

 {
          name: 'notShowSkeleton',
          friendlyName: 'Do not display skeleton loader',
          type: 'boolean',
          defaultValue: true,
},

New pages with the component are defaulting true as expected, but previous pages that use that component are setting the default value as false, is there any way to set the default value as true of previous pages?

Hello @mgaristo,

Welcome to the builder.io forum post.

The behavior you’re experiencing is expected. When you add a new default value for a custom component, it will apply to new pages, but existing pages will retain their previous settings unless they are explicitly updated. Unfortunately, there isn’t a way to automatically apply the new default value (e.g., true) to the previous pages without manually updating those instances.

If you’d like, you can either update the previous pages manually to reflect the new default value or use a script to bulk-update the components across your existing pages.

Let me know if you need further assistance or clarification!

Best regards,