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

Configuration options not shown #2939

Open
lsiepel opened this issue Dec 22, 2024 · 1 comment
Open

Configuration options not shown #2939

lsiepel opened this issue Dec 22, 2024 · 1 comment
Labels
bug Something isn't working main ui Main UI

Comments

@lsiepel
Copy link

lsiepel commented Dec 22, 2024

While developing a new binding for Zwave-JS, i have some difficulties trying to dynamically add configuration options. The options are added to the REST response, but the UI does not render them.

Using the ConfigDescriptionParameterBuilder.withOptions results in:

{
            "context": "item",
            "description": "Once activated, Wall Plug will keep a connected device ...",
            "label": "Always On Function",
            "name": "configuration-function",
            "required": true,
            "type": "INTEGER",
            "readOnly": false,
            "multiple": false,
            "advanced": false,
            "verify": true,
            "limitToOptions": true,
            "options": [
                {
                    "label": "Activated",
                    "value": "0"
                },
                {
                    "label": "Inactive",
                    "value": "1"
                }
            ],
            "filterCriteria": []
        }

No dropdown is shown:
image

The console does not show any related errors.

@lsiepel lsiepel added bug Something isn't working main ui Main UI labels Dec 22, 2024
@lsiepel
Copy link
Author

lsiepel commented Dec 31, 2024

Maybe a more clear screenshot.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working main ui Main UI
Projects
None yet
Development

No branches or pull requests

1 participant