ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

Console shows "loadCldr is no a function"

Open hans-helmut opened this issue 5 years ago • 2 comments

Console shows "loadCldr is no a function" I experienced the sandbox and also in my new code using Elm

To reproduce Steps to reproduce the behavior:

  1. Go to 'https://sap.github.io/ui5-webcomponents/'
  2. Click button "Start coding in your browser (CodeSandbox)"
  3. Browser switches to 'https://codesandbox.io/s/71r1x5o51q?fontsize=14&module=%2Findex.html'
  4. Wait a few seconds
  5. The Error "CLDR data for locale de is not loaded!" is displayed
  6. Click "Console"
  7. Console shows "loadCldr is no a function"

Expected behavior Well, at least the simple example should work.

Screenshots ui5_loadCldr

Context

  • UI5 Web Components version: 1.0.0-rc.12 I assume)
  • OS/Platform: Linux/Debian 10
  • Browser (if relevant): Firefox 78.8.0esr or Chromium 88.0.4324.182

hans-helmut avatar Mar 21 '21 13:03 hans-helmut

@SAP/ui5-webcomponents-team can you please check this issue it is reproducible when the locale is changed to another i.e. de or bg

kskondov avatar Mar 22 '21 10:03 kskondov

Hi @hans-helmut

This issue is already resolved in our master branch and will be released in rc13. In the meantime, you can use our @ next version available on npm: 0.0.0-5ffbbd9fe.

Link to a working sample: https://codesandbox.io/s/ui5-webcomponents-forked-sbb6r?file=/src/index.js

fifoosid avatar Mar 22 '21 11:03 fifoosid