Skip to content

Dependency of dependency resolution #559

Answered by dj-fiorex
dj-fiorex asked this question in Q&A
Discussion options

You must be logged in to vote

Nevermind, i think i understand now what the mistake was:

  • dependencies must be declared in root
  • need to use contains with array
{
  "title": "Copy From To",
  "type": "object",
  "properties": {
    "whatToCopy": {
      "title": "What to copy",
      "type": "string",
      "oneOf": [
        {
          "const": "parseClass",
          "title": "Classe Parse"
        },
        {
          "const": "config",
          "title": "Singola Configurazione"
        }
      ],
      "default": "config"
    },
    "adminUrl": {
      "type": "string",
      "title": "Admin Url"
    }
  },
  "required": [
    "adminUrl",
    "whatToCopy"
  ],
  "dependencies": {
    "whatToCopy": {
      "oneO…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dj-fiorex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant