You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 7, 2026. It is now read-only.
After upgrading to Pydantic version 2.9, I encountered an issue where single select fields in FastUI are using the enum name as the title, rather than the custom title provided as a parameter:
Description
After upgrading to Pydantic version 2.9, I encountered an issue where single select fields in FastUI are using the enum name as the title, rather than the custom title provided as a parameter:

It seems to be linked to this update: pydantic/pydantic#10029
Schema before:
{ "select_single": { "allOf": [{ "$ref": "#/$defs/ToolEnum" }], "title": "Select Single" }, ... }Schema after:
{ "select_single": { "$ref": "#/$defs/ToolEnum", "title": "Select Single" }, ... }This seems to cause a different behaviour in the
deference_json_schemafunction and results in the title being overwritten.Environment
FastUI version: 0.7.0
Pydantic version: 2.9.0
Python version: 3.12.4