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
Extensive calls to crypto.randomUUID() in multiple components, which for some cannot be avoided as far as I know.
This means errors in production for all components that resort to normalizeOptions in packages/oruga/src/composables/useOptions.ts.
Some components like Datepicker or Datetimepicker are using the Select in their template, which in turns make that call.
Steps to reproduce
Use Datetimepicker
Run in an unsafe production context
The text was updated successfully, but these errors were encountered:
Therefore, any component calling that in a HTTP (no S) context will get the following error :
I get the idea of the usage of randomUUID to have default keys on component that will expose some collection of data such as Select, Table, etc, but it then breaks in "prod" if you don't have a secure context.
Overview of the problem
Oruga versions:
Description
Extensive calls to
crypto.randomUUID()
in multiple components, which for some cannot be avoided as far as I know.This means errors in production for all components that resort to
normalizeOptions
inpackages/oruga/src/composables/useOptions.ts
.Some components like
Datepicker
orDatetimepicker
are using theSelect
in their template, which in turns make that call.Steps to reproduce
The text was updated successfully, but these errors were encountered: