File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
packages/angular-form/src Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 44 type OnChanges ,
55 type OnDestroy ,
66 type OnInit ,
7+ booleanAttribute ,
8+ numberAttribute ,
79} from '@angular/core'
810import {
911 type DeepKeys ,
@@ -44,9 +46,9 @@ export class TanStackField<
4446 // This can be removed when TanStack Form Core is moved to TS min of 5.4
4547 // and the NoInfer internal util type is rm-rf'd
4648 @Input ( ) defaultValue ?: NoInferHack < TData >
47- @Input ( ) asyncDebounceMs ?: number
48- @Input ( ) asyncAlways ?: boolean
49- @Input ( ) preserveValue ?: boolean
49+ @Input ( { transform : numberAttribute } ) asyncDebounceMs ?: number
50+ @Input ( { transform : booleanAttribute } ) asyncAlways ?: boolean
51+ @Input ( { transform : booleanAttribute } ) preserveValue ?: boolean
5052 @Input ( ) validatorAdapter ?: TFieldValidator
5153 @Input ( { required : true } ) tanstackField ! : FormApi <
5254 TParentData ,
You can’t perform that action at this time.
0 commit comments