@kaspernj/api-maker 1.0.278 → 1.0.279

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  ]
17
17
  },
18
18
  "name": "@kaspernj/api-maker",
19
- "version": "1.0.278",
19
+ "version": "1.0.279",
20
20
  "type": "module",
21
21
  "description": "",
22
22
  "main": "index.js",
@@ -149,6 +149,12 @@ class ApiMakerBootstrapInput extends React.PureComponent {
149
149
  if (forwardedProp in this.props) moneyProps[forwardedProp] = this.props[forwardedProp]
150
150
  }
151
151
 
152
+ const forwardedInputProps = ["defaultValue"]
153
+
154
+ for (const forwardedInputProp of forwardedInputProps) {
155
+ if (forwardedInputProp in this.props.inputProps) moneyProps[forwardedInputProp] = this.props.inputProps[forwardedInputProp]
156
+ }
157
+
152
158
  return moneyProps
153
159
  }
154
160