Skip to content

Commit 0b0b11d

Browse files
committed
Add missing files to schema section
1 parent 13fa7b5 commit 0b0b11d

File tree

4 files changed

+21
-6
lines changed

4 files changed

+21
-6
lines changed

packages/react-renderer-demo/src/components/navigation/schemas/schema.schema.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,12 @@ const schemaNav = [
115115
linkText: 'Pattern'
116116
},
117117
{
118-
component: 'condition-nesting',
119-
linkText: 'Condition nesting'
118+
component: 'condition-sequence',
119+
linkText: 'Sequence'
120120
},
121121
{
122-
component: 'condition-sequence',
123-
linkText: 'Condition sequence'
122+
component: 'condition-nesting',
123+
linkText: 'Condition nesting'
124124
},
125125
{
126126
component: 'condition-actions',
@@ -142,6 +142,10 @@ const schemaNav = [
142142
subHeader: true,
143143
title: 'Actions',
144144
noRoute: true
145+
},
146+
{
147+
component: 'actions',
148+
linkText: 'Action mapper'
145149
}
146150
];
147151

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import DocPage from '@docs/doc-page';
2+
3+
<DocPage>
4+
5+
# Action mapper
6+
7+
Actions allows to bind functions to field attributes. You can find more information [here](/mappers/action-mapper).
8+
9+
</DocPage>

packages/react-renderer-demo/src/pages/schema/introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Other attribues, such as title or description, can be used in [form templates](/
4242

4343
*string*
4444

45-
`component` is a string value representing used component. Available options depends on the component mapper. Data Driven Forms automatically checks if the component is available, if not, it shows an error message.
45+
`component` is a string value representing used component. Available options depends on the component mapper. Data Driven Forms automatically checks if the component is available, if not, it shows an error message. You use [componentTypes](/schema/constants#componenttypes) to prevent typos.
4646

4747
---
4848

@@ -170,7 +170,7 @@ Sets an initial value of the field. Read more [here](https://final-form.org/docs
170170
}
171171
```
172172

173-
Type is one of our provided validators: [required](/schema/required-validator), [length](/schema/length-validator), [URL](/schema/url-validator), [pattern](/schema/pattern-validator), [number value](/schema/number-value-validator).
173+
Type is one of our provided validators: [required](/schema/required-validator), [length](/schema/length-validator), [URL](/schema/url-validator), [pattern](/schema/pattern-validator), [number value](/schema/number-value-validator). You can use [validatorTypes](/schema/constants#validatortypes) to prevent typos.
174174

175175
Or you can implement your own via creating a [validator mapper](/mappers/validator-mapper).
176176

packages/react-renderer-demo/src/pages/schema/validator-mapper.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ import DocPage from '@docs/doc-page';
44

55
# Validator mapper
66

7+
Validator mapper allows to define custom validator types. You can find more information [here](/mappers/validator-mapper).
8+
79
</DocPage>

0 commit comments

Comments
 (0)