We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Piggy backing on #134 but further diving into it, the forms UI fails to utilise the data provided via the schema route under some scenarios.
schema
Code:
class Form(BaseModel): end_date: Optional[date] = None
Schema:
{ "end_date": { "anyOf": [ { "format": "date", "type": "string" }, { "type": "null" } ], "default": null, "title": "End Date" } }
Expectation: UI displays the date picker, but with no value selected by default
Actual: Empty text field
text
class Form(BaseModel): enum: MyEnum
Schema: Includes a $defs to the schema area with the correct data
Expectation: Drop down with the values
Actual:
Clicking "Use again" does not appear to prefill placeholders
The text was updated successfully, but these errors were encountered:
Thanks for reporting this - you're right, I can replicate this issue.
Enums are quite tricky, because the OpenAPI schema uses refs, which are kind of a pain. I would like to support these though.
Things like optional date fields not working is definitely a bug.
Sorry, something went wrong.
I've found the cause of the optional date field bug - will put up a PR.
No branches or pull requests
Piggy backing on #134 but further diving into it, the forms UI fails to utilise the data provided via the
schema
route under some scenarios.Case one
Code:
Schema:
Expectation:
UI displays the date picker, but with no value selected by default
Actual:
Empty
text
fieldCase two
Code:
Schema:
Includes a $defs to the schema area with the correct data
Expectation:
Drop down with the values
Actual:
Case three
Clicking "Use again" does not appear to prefill placeholders
The text was updated successfully, but these errors were encountered: