question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multiple pages proposal

See original GitHub issue

Prerequisites

Description

It would be nice to have multiple pages in a form. As a first pass, I’m proposing something like the following in the uiSchema:

{
    "ui:options": {
        "pages": [
            {
                "title": "Page 1",
                "ui:order": [
                    "name",
                    "address",
                    "email"
                ]
            },
            {
                "title": "Page 2",
                "ui:order": [
                    "zipcode",
                    "abc"
                ]
            }
        ]
    }
}

This would put everything in all pages within a single schema. In the case we have an array of required elements, then, perhaps validation errors could show only at the end once all pages are completed.

Not sure if this is the right way to do it; would appreciate some feedback!

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:14
  • Comments:31 (8 by maintainers)

github_iconTop GitHub Comments

5reactions
MatinFcommented, Oct 23, 2019

We use it in the following way:

image

The ability to split a long rjsf form into separate tabs is extremely useful - we would just like for it to be possible from the core project.

5reactions
MatinFcommented, Sep 5, 2019

I think this would be a really nice implementation. We’re relying on the separate pagination project, but it’s causing a number of issues for us.

In our case, we’d just like the pagination functionality of the separate project - but included natively in rjsf so we can avoid eg any versioning issues.

Would be interested in hearing the outlook on this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Write a Simple Two Page Proposal | Bizfluent
Write each paragraph in the body, limiting yourself to no more than six paragraphs so that you stay on two pages. Develop each...
Read more >
How to Write a 2 Page Grant Proposal (With Templates)
So you're writing a one or two-page grant proposal, otherwise knowns as a mini grant proposal. The good news is – you only...
Read more >
29 Sample Proposal Templates and Design Tips - Visme
This proposal template is perfect for a more corporate look and feel in your proposal. ... It doesn't have to be a basic...
Read more >
35 Professional Business Project Proposal Templates 2022
Customize the many page templates to add your own infographics, timelines, and other information. This professional template has 40 template pages, including a ......
Read more >
How To Write A One-Page Proposal - Tips, Tricks & Advice
Not every proposal needs to be a multi-page document. Here's how to write a one-page proposal that will make your clients sit up...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found