Preload Form Data

Preload data

For preloading form data, provide input data in the same format as onSubmit event.

Basic example

Usage

    <MuiForms
        data={{
            "first_name": "Jyoti",
            "last_name": "Baruah",
            "email": "jyoti.baruah@gmail.com",
            "age": 24
        }}
        schema={schema}
        onSubmit={(data) => {
            // handle submit
        }}
    />

Schema details

{
fields
:
[
[
…
]
[
…
]
]
}

Star us at github

© Copyright 2023 MuiForms