Skip to content

Commit 6176b77

Browse files
authored
feat: update input schema docs (#1081)
Updates the docs to include the new `prefill` property on Boolean fields in the input schema. When the field has a `default` value set now, we display the `default` chip, to differentiate between them and regular/prefilled fields. Related to https://github.com/apify/apify-core/pull/16390/ Also, polite request - please merge this when the above PR is out - I won't be able to since I won't be at Apify anymore :)
1 parent 31d9554 commit 6176b77

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed
5.58 KB
Loading

sources/platform/actors/development/actor_definition/input_schema/specification.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,6 @@ When using escape characters `\` for the regular expression in the `pattern` fie
203203

204204
### Boolean
205205

206-
:::caution `prefill` limitation
207-
208-
Beware that the `boolean` input type doesn't support the `prefill` property since there is no way to display the pre-filled value in the user interface.
209-
210-
:::
211-
212206
Example options with group caption:
213207

214208
```json5
@@ -226,7 +220,7 @@ Example options with group caption:
226220
"type": "boolean",
227221
"description": "If checked then actors runs at the
228222
speed of light.",
229-
"default": true
223+
"prefill": true
230224
}
231225
}
232226
```

0 commit comments

Comments
 (0)