Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In the schema type "FormElementDynamicDataSourceBeta", the "options" config is missing #41

Open
drosenbauer opened this issue Oct 16, 2023 · 0 comments

Comments

@drosenbauer
Copy link

A form field's data source needs to be able to look like this:

"dataSource": {
    "config": {
        "options": [
            {
                "label": "Option 1",
                "subLabel": "",
                "value": "Option 1"
            },
            {
                "label": "Option 2",
                "subLabel": "",
                "value": "Option 2"
            }
        ]
    },
    "dataSourceType": "STATIC"
},

However, the SDK does not have the 'options' field in the schema.

let formSource: FormElementDynamicDataSourceBeta = {
    config: {
        options: [   // <--- TYPE ERROR HERE

        ]
    }
}

On the other hand, it's not a big deal because that type doesn't actually appear to be used anywhere...

developer-relations-sp added a commit that referenced this issue Sep 30, 2024
…-api-documentation

[NEROCKET-1735] api documentation' by github action: 11109032472
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant