-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Problem
We use Pydantic models to generate JSON schemas that drive our React UI. Some fields should only be visible/editable when other fields have specific values. While we can validate this on the backend with Pydantic validators, the UI needs to know these rules to hide/disable fields appropriately.
Solution: Extend UiSchema with visible_when
We'll extend our existing UiSchema helper to include conditional visibility rules that get embedded in the JSON schema.
coderabbitai
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
🔖 Ready