@conform-to/react 0.9.0 → 0.9.1
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/README.md +1 -1
- package/hooks.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -350,7 +350,7 @@ function Example() {
|
|
|
350
350
|
form={title.form}
|
|
351
351
|
defaultValue={title.defaultValue}
|
|
352
352
|
autoFocus={title.initialError ? true : undefined}
|
|
353
|
-
|
|
353
|
+
required={title.required}
|
|
354
354
|
minLength={title.minLength}
|
|
355
355
|
maxLength={title.maxLength}
|
|
356
356
|
min={title.min}
|
package/hooks.d.ts
CHANGED
|
@@ -57,7 +57,7 @@ export interface FormConfig<Output extends Record<string, any>, Input extends Re
|
|
|
57
57
|
/**
|
|
58
58
|
* An object describing the result of the last submission
|
|
59
59
|
*/
|
|
60
|
-
lastSubmission?: SubmissionResult;
|
|
60
|
+
lastSubmission?: SubmissionResult | null;
|
|
61
61
|
/**
|
|
62
62
|
* An object describing the constraint of each field
|
|
63
63
|
*/
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Conform view adapter for react",
|
|
4
4
|
"homepage": "https://conform.guide",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "0.9.
|
|
6
|
+
"version": "0.9.1",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"module": "index.mjs",
|
|
9
9
|
"types": "index.d.ts",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"url": "https://github.com/edmundhung/conform/issues"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@conform-to/dom": "0.9.
|
|
33
|
+
"@conform-to/dom": "0.9.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"react": ">=16.8"
|