We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1752153 commit d7df74aCopy full SHA for d7df74a
apps/docs2/src/content/docs/form/options.mdx
@@ -19,10 +19,6 @@ export type UiOptionsRegistryOption = keyof UiOptionsRegistry extends never
19
[UI_OPTIONS_REGISTRY_KEY]: UiOptionsRegistry;
20
};
21
22
-export interface ValueRef<T> {
23
- current: T;
24
-}
25
-
26
export interface FormOptions<T, V extends Validator>
27
extends UiOptionsRegistryOption {
28
validator: V;
@@ -49,7 +45,7 @@ export interface FormOptions<T, V extends Validator>
49
45
*/
50
46
idPseudoSeparator?: string;
51
47
//
52
- value?: [() => T, (v: T) => void];
48
+ value?: Lens<T>;
53
initialValue?: InitialValue<T>;
54
initialErrors?: InitialErrors<V>;
55
/**
0 commit comments