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 1c612b5 commit a299a5bCopy full SHA for a299a5b
src/Model.js
@@ -42,30 +42,8 @@ export default class Model extends StaticModel {
42
return this
43
}
44
45
- formData(options = {}) {
46
- const defaultOptions = {
47
- /**
48
- * Include array indices in FormData keys
49
- */
50
- indices: false,
51
-
52
53
- * Treat null values like undefined values and ignore them
54
55
- nullsAsUndefineds: false,
56
57
58
- * Convert true or false to 1 or 0 respectively
59
60
- booleansAsIntegers: false,
61
62
63
- * Store arrays even if they're empty
64
65
- allowEmptyArrays: false,
66
- }
67
68
- return { ...defaultOptions, ...options }
+ formData() {
+ return {}
69
70
71
resource() {
0 commit comments