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

The error message for the enumeration type is incorrect #236

Open
MrWindlike opened this issue Jun 4, 2024 · 1 comment
Open

The error message for the enumeration type is incorrect #236

MrWindlike opened this issue Jun 4, 2024 · 1 comment

Comments

@MrWindlike
Copy link

Problem

When a field with multiple enum types is filled in incorrectly, the prompt shows a collection of enum results for multiple fields.

Schema:

        {
          "properties": {
            "p": {
              "type": "string",
              "enum": ["a", "b"],
            },
            "q": {
              "type": "string",
              "enum": ["c", "d"]
            }
          }
        }

Result:

image

Expectation

Only the enumeration results for the corresponding field are displayed.

@remcohaszing
Copy link
Owner

I’m not able to reproduce this. Can you provide a repository with a reproducible example?

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

2 participants