We have encountered an issue with a custom widget being used in Experience Builder where both the load and save functions fail to operate. We are using CDN-hosted calcite-components asset in our custom widget. After some investigation, it appears that the problem stems from using the CDN-hosted assets for esri calcite-components version 3.0.2. It has been working fine, but recently, the widget stopped functioning. We found that version 3.0.2 fails to locate message_ko.json.
The Korean language message file, which is required for proper localization, seems to be missing from the CDN version (v3.0.2) of the calcite-components assets. When the widget attempts to load this file, it encounters an error that prevents the widget from functioning correctly.
Our current custom widget code:
setAssetPath("https://unpkg.com/@esri/calcite-components/dist/calcite/assets");
Has anyone else experienced this issue with the calcite-components CDN version 3.0.2? Is there a fix or a recommended workaround—perhaps an updated version or a way to include the missing Korean message file—that resolves this issue without resorting to a previous version?
Solved! Go to Solution.
Hi @tasubasu It looks like you may be trying to leverage the removed Value List component in Calcite's 3.0. Value List was deprecated in Calcite's 1.0 and removed in 3.0.
The "ko", or Korean translations are still provided in other components, including the List component, which should be used in place of Value List.
Hi @tasubasu It looks like you may be trying to leverage the removed Value List component in Calcite's 3.0. Value List was deprecated in Calcite's 1.0 and removed in 3.0.
The "ko", or Korean translations are still provided in other components, including the List component, which should be used in place of Value List.
Thank you @KittyHurley !
That looks to be the issue. In the meantime we will apply the previous calcite-components version 1.4.2 by specifying the CDN version.