Skip to content

Commit 77a4af5

Browse files
authored
validate & validateAll functions clarifications (windmill-labs#587)
1 parent 614434c commit 77a4af5

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

docs/apps/3_app-runnable-panel.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,15 +451,15 @@ Note that it's a bad idea to mix dynamic default value and setValue together.
451451

452452
### validate
453453

454-
Validate a specific field of a form.
454+
Make a specific field of a form in a Validate state.
455455

456456
```js
457457
validate(id: string, key: string)
458458
```
459459

460460
### validateAll
461461

462-
Validate all fields of a form.
462+
Make all fields of a form in a Validate state.
463463

464464
```js
465465
validateAll(id: string, key: string)

docs/apps/4_app_configuration_settings/form_input.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ The [setValue](../3_app-runnable-panel.mdx#setvalue) function is meant to set or
4545

4646
**validate**
4747

48-
Validate a specific field of a form
48+
Make a specific field of a form in a Validate state.
4949

5050
`validate(id: string, key: string)`
5151

5252
**validateAll**
5353

54-
Validate all fields of a form
54+
Make all fields of a form in a Validate state.
5555

5656
`validateAll(id: string, key: string)`
5757

docs/apps/4_app_configuration_settings/modal_form.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ The [setValue](../3_app-runnable-panel.mdx#setvalue) function is meant to set or
4444

4545
**validate**
4646

47-
Validate a specific field of a form
47+
Make a specific field of a form in a Validate state.
4848

4949
`validate(id: string, key: string)`
5050

5151
**validateAll**
5252

53-
Validate all fields of a form
53+
Make all fields of a form in a Validate state.
5454

5555
`validateAll(id: string, key: string)`
5656

docs/apps/4_app_configuration_settings/submit_form.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ The [setValue](../3_app-runnable-panel.mdx#setvalue) function is meant to set or
4949

5050
**validate**
5151

52-
Validate a specific field of a form
52+
Make a specific field of a form in a Validate state.
5353

5454
`validate(id: string, key: string)`
5555

5656
**validateAll**
5757

58-
Validate all fields of a form
58+
Make all fields of a form in a Validate state.
5959

6060
`validateAll(id: string, key: string)`
6161

0 commit comments

Comments
 (0)