@kaspernj/api-maker 1.0.421 → 1.0.422

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaspernj/api-maker",
3
- "version": "1.0.421",
3
+ "version": "1.0.422",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "main": "index.js",
package/src/use-input.mjs CHANGED
@@ -129,6 +129,8 @@ const useInput = ({props, wrapperOptions}) => {
129
129
  if ("defaultChecked" in s.props || (s.props.attribute && s.props.model)) {
130
130
  inputProps.defaultChecked = inputDefaultChecked()
131
131
  }
132
+ } else if ("value" in s.props) {
133
+ inputProps.value = s.props.value
132
134
  } else if (!("value" in s.props)) {
133
135
  inputProps.defaultValue = inputDefaultValue()
134
136
  }