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
_For more examples, please refer to the [Example folder](https://github.com/Wavelop/dynamic-form/tree/master/example)_.
188
190
189
-
## 📚Documentation
191
+
## 📚Documentation
190
192
191
193
Check out our [documentation website](https://dynamic-form-wavelop.firebaseapp.com/).
192
194
195
+
## 🥇 Add your values
196
+
197
+
Use the `deafultValue` option to add an initial value to a field.
198
+
199
+
```javascript
200
+
// config.js
201
+
...
202
+
fields: [
203
+
{
204
+
name:"field1_row2",
205
+
label:"field1_row2",
206
+
helperText:"field1_row2",
207
+
tag:"notRow",
208
+
defaultValue:"hello",
209
+
}
210
+
]
211
+
...
212
+
```
213
+
193
214
## 🏘 Using existing components
194
215
195
216
Core functionalities can be used with exinsing components, as with the one of the package `@wavelop/dynamic-form-base-components` or you can create your custom components to inject inside the configuration.
@@ -198,13 +219,14 @@ Core functionalities can be used with exinsing components, as with the one of th
198
219
199
220
WIP.
200
221
201
-
### 🧱 Repeater components
222
+
### 💫 Repeater components
202
223
203
224
There are more way to create repeater components:
204
225
205
226
1. Update your configuration dinamically adding new piece of configuration. To group state results you should use `rowOptions`, both on row container and field.
206
227
207
-
Example:
228
+
<details>
229
+
<summary>Example point 1</summary>
208
230
209
231
In the configuration create the initial configuration:
0 commit comments