We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
formData
1 parent a299a5b commit 05ef817Copy full SHA for 05ef817
docs/content/en/api/model-options.md
@@ -65,6 +65,24 @@ parameterNames() {
65
}
66
```
67
68
+### `formData`
69
+- Returns: `object`
70
+
71
+This method can be overridden in the model to configure `object-to-formdata`.
72
73
+See [object-to-formdata](https://github.com/therealparmesh/object-to-formdata#usage)
74
75
+```js
76
+formData() {
77
+ return {
78
+ indices: false,
79
+ nullsAsUndefineds: false,
80
+ booleansAsIntegers: false,
81
+ allowEmptyArrays: false,
82
+ }
83
+}
84
+```
85
86
#### `include`
87
- Default: `include`
88
- Returns: `string`
0 commit comments