diff --git a/README.md b/README.md index 45d1d522..61116eed 100644 --- a/README.md +++ b/README.md @@ -106,13 +106,13 @@ You can consume this library either in Form.io Builder or Form.io Renderer. To use custom components in the Form.io platform builder, please go to the [Project stage settings](https://help.form.io/userguide/projects#custom-js-and-css) and update the `Custom javascript` URL with the CDN URL of this library: ``` -https://static.qgov.net.au/formio-qld/v1/v1.x.x-latest/formio-qld.min.js +https://static.qgov.net.au/formio-qld/v2/v2.x.x-latest/formio-qld.min.js ``` and update the `Custom CSS` property with ``` -https://static.qgov.net.au/formio-qld/v1/v1.x.x-latest/formio-qld.min.css +https://static.qgov.net.au/formio-qld/v2/v2.x.x-latest/formio-qld.min.css ``` share diagram @@ -123,12 +123,12 @@ To use custom components in the Form.io JS renderer, please include the script * Pleaser refer to [Form.io doc](https://help.form.io/developers/form-renderer#getting-started) for how to initiate your form application in a HTML page. ```html - + ... - + ``` diff --git a/src/examples/DownloadPdf/DownloadPdf.code.js b/src/examples/DownloadPdf/DownloadPdf.code.js index 8b6e058d..ea71f129 100644 --- a/src/examples/DownloadPdf/DownloadPdf.code.js +++ b/src/examples/DownloadPdf/DownloadPdf.code.js @@ -4,7 +4,7 @@ import { DownloadPdfRender } from "!!./DownloadPdf"; export const downloadPdfCode = ` - + + + + + + diff --git a/src/helpers/FormioScript/FormioScript.js b/src/helpers/FormioScript/FormioScript.js index db62815c..94fcad1d 100644 --- a/src/helpers/FormioScript/FormioScript.js +++ b/src/helpers/FormioScript/FormioScript.js @@ -1,4 +1,4 @@ -export const defaultVersion = window.formioQldCdnVersion || "v1/v1.x.x-latest"; +export const defaultVersion = window.formioQldCdnVersion || "v2/v2.x.x-latest"; export const createScripts = (scripts, i, mainResolve) => { if (i > scripts.length - 1) { diff --git a/src/helpers/FormioScript/FormioScript.mdx b/src/helpers/FormioScript/FormioScript.mdx index 30626db5..fdf9c125 100644 --- a/src/helpers/FormioScript/FormioScript.mdx +++ b/src/helpers/FormioScript/FormioScript.mdx @@ -17,12 +17,12 @@ Simply include it in your application and it will search through the page with F **Before using FormioScript:** ```html - - - - - - + + + + + +
- + + + + + + + ... - + ``` diff --git a/src/stories/assets/formioSettings.png b/src/stories/assets/formioSettings.png index 1f4d50c6..4f1161f3 100644 Binary files a/src/stories/assets/formioSettings.png and b/src/stories/assets/formioSettings.png differ