mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
PassThroughGuardrailsSection threads its `disabled` prop to the guardrail selector and to all three quick-add buttons, but not to the two `TagsInput` controls for request and response field targeting. Every other prop crossed, so the section greys out while a user can still type field names straight into both tag inputs. Latent rather than live: neither call site passes `disabled` today, so the prop is currently dead across the tree. This arms the gate for whoever passes it first. `TagsInput` already honours `disabled` end to end, measured rather than read: with it set, the input carries a real disabled attribute and all three commit paths, token separator, Enter and blur, are inert. So the fix belongs at the call sites and the primitive needs no change. The new test drives the control rather than asserting an attribute, since a Base UI control can paint a disabled state while still accepting input. The enabled cases are the liveness gate: they type the same text through the same gesture and assert it commits, so the disabled cases cannot pass vacuously. |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||