DEV Community

wsq
wsq

Posted on

Pure HTML with CDN json schema form element has typo

what a great project that uses lit

https://github.com/json-schema-form-element/jsfe?tab=readme-ov-file

Everything was working great with https://github.com/json-schema-form-element/examples/blob/main/src/pages/pure-html.html

but when I tried to use the ui-schema it failed until I changed

ui-schema to uiSchema

not working:

<json-schema-form
    // .....
    ui-schema='{
        "bar": {
            "ui:widget": "switch"
        }
    }'
></json-schema-form>
Enter fullscreen mode Exit fullscreen mode

working:

<json-schema-form
    // .....
    uiSchema='{
        "bar": {
            "ui:widget": "switch"
        }
    }'
></json-schema-form>
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more