Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ The component supports:
</ParamField>

<ParamField path="readonly" type="list of strings" required={false}>
Fields to lock by hiding their dropdown selectors. Accepts `"environment"` to lock the server URL and prevent users from switching environments. When set to `readonly={["environment"]}`, the environment selector is hidden and the endpoint uses the environment specified by `defaultEnvironment` (or the first environment if not specified).
Fields to lock by hiding their dropdown selectors. Accepts `"environment"` to lock the server URL and prevent users from switching environments, and `"examples"` to lock the example selection and prevent users from switching between multiple examples. When set to `readonly={["environment"]}`, the environment selector is hidden and the endpoint uses the environment specified by `defaultEnvironment` (or the first environment if not specified). When set to `readonly={["examples"]}`, the example selector is hidden and the endpoint uses the example specified by `example` (or the first example if not specified).
</ParamField>

<ParamField path="className" type="string" required={false}>
Expand Down