@railway-ts/use-form 0.1.14 → 0.1.16

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 CHANGED
@@ -32,7 +32,7 @@ Bring your own Zod, Valibot, or ArkType via [Standard Schema](https://github.com
32
32
  bun add @railway-ts/use-form @railway-ts/pipelines # or npm, pnpm, yarn
33
33
  ```
34
34
 
35
- Requires React 18+ and @railway-ts/pipelines ^0.1.18.
35
+ Requires React 18+ and @railway-ts/pipelines ^0.1.20.
36
36
 
37
37
  ## Quick Start
38
38
 
@@ -174,8 +174,6 @@ export function RegistrationForm() {
174
174
  },
175
175
  fieldValidators: {
176
176
  username: async (value) => {
177
- if (value.length < 3) return undefined;
178
-
179
177
  try {
180
178
  const { available } = await queryClient.fetchQuery({
181
179
  queryKey: ['check-username', value],