React-jsonschema-form: JSFiddle examples are not working

Created on 7 Feb 2020  Â·  10Comments  Â·  Source: rjsf-team/react-jsonschema-form

Prerequisites

N/A

Description

The JSFiddle examples listed at https://react-jsonschema-form.readthedocs.io/en/latest/#tips-and-tricks are no longer working

Steps to Reproduce

Go to https://jsfiddle.net/hdp1kgn6/1/

Expected behavior

See an example form

Actual behavior

The form is not rendered

documentation

Most helpful comment

@mchelen-gov

From https://raw.githubusercontent.com/rjsf-team/react-jsonschema-form/master/docs/index.md:

Useful samples

All 10 comments

Right -- I think it is pulling the latest version (2.0.0 alpha) from the cdn, but still uses an older version of react. Could you fork the fiddles, update the React version, then make a PR to the docs to fix this?

I had a quick look today - they're not using the latest, but hopefully will
have more time tomorrow to see what the issue is.

On Sun, 9 Feb 2020, 22:12 Ashwin Ramaswami, notifications@github.com
wrote:

Right -- I think it is pulling the latest version (2.0.0 alpha) from the
cdn, but still uses an older version of react. Could you fork the fiddles,
update the React version, then make a PR to the docs to fix this?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rjsf-team/react-jsonschema-form/issues/1584?email_source=notifications&email_token=AAOLWXB7YA2HVRPISDBHWCLRCBWT3A5CNFSM4KRLU222YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELGYHDA#issuecomment-583893900,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOLWXAHW22PGSLSJWDBDNLRCBWT3ANCNFSM4KRLU22Q
.

FYI I'm in the process of moving the examples to CodeSandbox - it may take a few more days.

@jeremypeters I am currently evaluating rjsf and came along the demos listed at https://react-jsonschema-form.readthedocs.io/en/latest/#tips-and-tricks (multi-step, conditional fields etc are important to us). But all these examples do not work. Is there already something to see at codesandbox?

@jnachtigall Unfortunately I've been busy with other things and have only done a couple of the demos in CodeSandbox so far.

@mchelen-gov in that PR, I just commented out the jsfiddle examples so we can add working examples when they're fully fixed. I did add codepen examples, though those were just for the inline jsx code in the documentation rather than for the more complex jsfiddle examples that this issue is about.

@epicfaace do you have a list of the old examples that need to be migrated to the new docs?

@mchelen-gov

From https://raw.githubusercontent.com/rjsf-team/react-jsonschema-form/master/docs/index.md:

Useful samples

Here is a CodePen version of the Multi-step wizard (still using class component): https://codepen.io/mchelen/pen/zYrKvEy

Was this page helpful?
0 / 5 - 0 ratings

Related issues

norim13 picture norim13  Â·  3Comments

jabaren picture jabaren  Â·  3Comments

ebower12 picture ebower12  Â·  3Comments

mfulton26 picture mfulton26  Â·  3Comments

mfulton26 picture mfulton26  Â·  3Comments