0.1.3 #4

Merged
Thilawyn merged 90 commits from next into master 2025-08-23 03:07:28 +02:00
Showing only changes of commit 322022c607 - Show all commits

View File

@@ -23,18 +23,12 @@ export const TextFieldInput = <A, R, O extends boolean = false>(options: {
? { ? {
optional: true, optional: true,
// eslint-disable-next-line react-hooks/rules-of-hooks // eslint-disable-next-line react-hooks/rules-of-hooks
...yield* useOptionalInput({ ...yield* useOptionalInput({ ...options, ...props as TextFieldOptionalInputProps<A, R> }),
...options,
...props as TextFieldOptionalInputProps<A, R>,
}),
} }
: { : {
optional: false, optional: false,
// eslint-disable-next-line react-hooks/rules-of-hooks // eslint-disable-next-line react-hooks/rules-of-hooks
...yield* useInput({ ...yield* useInput({ ...options, ...props as TextFieldInputProps<A, R> })
...options,
...props as TextFieldInputProps<A, R>,
})
} }
const issue = React.useMemo(() => input.error.pipe( const issue = React.useMemo(() => input.error.pipe(