Skip to content

Don't hardcode django specific variables (modelName and fieldName) #41

@bhch

Description

@bhch

Instead, let the users set any variables they want. And keep them in a container object like extraConfig:

<ReactJSONForm
    editorState={...}
    onChange={...}
    extraConfig={{
        modelName: ...
        fieldName: ...
    }}
/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions