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

Warning with "default" value #438

Open
boutils opened this issue Jun 7, 2024 · 0 comments
Open

Warning with "default" value #438

boutils opened this issue Jun 7, 2024 · 0 comments

Comments

@boutils
Copy link

boutils commented Jun 7, 2024

Hello, I am trying to use a simple selector.

This is the schema I am using:

{
  "type": "object",
  "properties": {
    "indicator": {
      "type": "string",
      "default": "aa",
      "enum": ["aa", "bb"]
    }
  }
}

Note that it seems to work correctly, but I can see in my browser console the following warning (several times in a row):
Screenshot 2024-06-07 at 07 42 40

Is this schema wrong? Or is it a bug?

Thanks in advance for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant