Skip to content

Commit 303c2f8

Browse files
authored
Remove initialValue and edit description of default in ParamField (#916)
* Change mentions of introduction.mdx to index.mdx * Remove initial value and edit description of default
1 parent 2086c26 commit 303c2f8

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

components/fields.mdx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ The `<ParamField>` component is used to define parameters for your APIs or SDKs.
3131

3232
Supports `number`, `string`, `boolean`, `object`.
3333

34-
Arrays can be defined using the `[]` suffix. For example, `string[]`.
34+
Arrays can be defined using the `[]` suffix. For example `string[]`.
35+
3536
</ParamField>
3637

3738
<ParamField body="required" type="boolean">
@@ -43,11 +44,7 @@ The `<ParamField>` component is used to define parameters for your APIs or SDKs.
4344
</ParamField>
4445

4546
<ParamField body="default" type="string">
46-
Default value used by the server if the request does not provide a value.
47-
</ParamField>
48-
49-
<ParamField body="initialValue" type="any">
50-
Value that will be used to initialize the playground.
47+
Default value populated when the request value is empty
5148
</ParamField>
5249

5350
<ParamField body="placeholder" type="string">

0 commit comments

Comments
 (0)