Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Schema jsonConfig.json - potentially missing definitions #29

Closed
mcm1957 opened this issue Apr 15, 2022 · 3 comments
Closed

Schema jsonConfig.json - potentially missing definitions #29

mcm1957 opened this issue Apr 15, 2022 · 3 comments

Comments

@mcm1957
Copy link

mcm1957 commented Apr 15, 2022

I linked https://raw.githubusercontent.com/ioBroker/adapter-react/master/schemas/jsonConfig.json to vsCode. vsCode reports the erros whcih seem to be due to missing definitions in schema:

validatorNoSaveOnError
seems to be missing completly

validator, validatorErrorText, validatorNoSaveOnError
seems to be missing at table elements (item array of table). Validator is working, so the schema seems to be incorrect. As validatorErrorText does not seem to work the schema might be correct - in this case schema.md at admin is incorrect

default, hidden
seem to be missing at table elements (item array of table).

options
seems to be missing at table elements (item array of table) of type "select".

@crycode-de
Copy link
Contributor

In table items, most (all?) type specific definitions seams to be missing.
E.g. for selectSendTo: command, data, jsonData, defaultFunc, noTranslation are missing.

noMultiEdit is missing completely.

maxLength for type text is missing.

The defaultFunc and onChange object syntax seams to be missing completely. This is used e.g. in linkeddevices here and here for example.

@GermanBluefox
Copy link
Collaborator

This repo is deprecated, please create issues for schema here: https://github.com/ioBroker/adapter-react-v5/issues

@mcm1957
Copy link
Author

mcm1957 commented Jul 15, 2022

moved into ioBroker/adapter-react-v5#24

@mcm1957 mcm1957 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants