You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we utilize an array in the schema.json, the relevant config is not generated and therefore no data is produced and is not available locally. When we publish it to the store, everything works correctly, but this is a problem for local development, as we cannot preview the html that uses array data locally.
Has anyone found this problem as well or am I misunderstanding something?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi @Casdak7, I initially experienced some issues around config.json data as well. I cannot speak specifically about your widget(s) but hopefully the following is helpful to you:
Block config data for arrays is generated based on the defaultCount attribute specified in your schema
Only properties with default values will be added to the resulting config.json. Both the key needs to exist and it be a truthy value i.e. "default": "" or "default": false will not lead to the property being added.
When we utilize an array in the schema.json, the relevant config is not generated and therefore no data is produced and is not available locally. When we publish it to the store, everything works correctly, but this is a problem for local development, as we cannot preview the html that uses array data locally.
Has anyone found this problem as well or am I misunderstanding something?
Thanks in advance!
The text was updated successfully, but these errors were encountered: