Skip to content

Commit

Permalink
[QOLDEV-614] use QGOV CDN for grid scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ThrawnCA committed Nov 14, 2023
1 parent cab1e2a commit defb91e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/helpers/FormioLoader/FormioLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ const defaultInitFormioAction = () => {
const initFormio = () => {
// Init form
Formio.icons = "fontawesome";
Formio.cdn.setOverrideUrl('grid', 'https://static.qgov.net.au/formio-qld/v2/v2.x.x-latest/');

This comment has been minimized.

Copy link
@duttonw

This comment has been minimized.

Copy link
@duttonw

duttonw Nov 14, 2023

Member

fyi, the grid is in its own folder, there seems to be some on the root but it should emulate the formio cdn which is in a subfolder.

There is also other libraries but we are only change grid at this time.

if (premium) Formio.use(premium);

// default callback after Formio is loaded
Expand Down

0 comments on commit defb91e

Please sign in to comment.