You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/react-renderer-demo/src/pages/migration-guide-v3.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,4 +66,19 @@ FormRenderer component is no longer a default export of the `react-form-renderer
66
66
67
67
All the mappers except Ant Design and PatternFly 4 were migrated to use JSS (CSS in JS), so you don't have to use any css-loader. (However, you still need to setup the loader in case you are using ant-component-mapper of pf4-component-mapper. If you are using PF4, you are probably using the loader right now, as you need it also for the core package.)
68
68
69
+
## FieldProps introduction
70
+
71
+
A new [FieldProps](/schema/introduction#fieldprops) props is introduced. This object serves to pass values to Final Form [useField configuration](https://final-form.org/docs/react-final-form/types/FieldProps). Do not use for natively supported props (`initialValue`, `validate`, ...).
Copy file name to clipboardExpand all lines: packages/react-renderer-demo/src/pages/schema/introduction.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ Other attribues, such as title or description, can be used in [form templates](/
29
29
clearOnUnmount:true,
30
30
condition: { ... },
31
31
dataType:'string',
32
+
FieldProps: { ... },
32
33
hideField:true,
33
34
initializeOnMount:true,
34
35
initialValue:'default-login',
@@ -132,6 +133,14 @@ Data type sets the type the value will be converted to. Read more [here](/schema
132
133
133
134
---
134
135
136
+
### FieldProps
137
+
138
+
*object*
139
+
140
+
You can pass additional [Final Form FieldProps](https://final-form.org/docs/react-final-form/types/FieldProps) via FieldProps object. This prop is made to avoid conflicts between Final Form props and component props.
0 commit comments