docs(forms): add jsdoc for ReadonlyFieldState

(cherry picked from commit d93e922517)
This commit is contained in:
Matthieu Riegler
2026-06-19 15:31:23 +02:00
committed by leonsenft
parent 2aa8e68685
commit ad3693f44f
2 changed files with 4 additions and 1 deletions
@@ -589,7 +589,6 @@ export interface ReadonlyFieldState<TValue, TKey extends string | number = strin
readonly disabled: Signal<boolean>;
// (undocumented)
readonly disabledReasons: Signal<readonly DisabledReason[]>;
// (undocumented)
readonly errors: Signal<ValidationError.WithFieldTree[]>;
readonly errorSummary: Signal<ValidationError.WithFieldTree[]>;
readonly fieldTree: ReadonlyFieldTree<unknown, TKey>;
+4
View File
@@ -430,6 +430,10 @@ export interface ReadonlyFieldState<TValue, TKey extends string | number = strin
*/
readonly hidden: Signal<boolean>;
readonly disabledReasons: Signal<readonly DisabledReason[]>;
/**
* A signal containing the {@link errors} of the field itself, excluding its descendants.
*/
readonly errors: Signal<ValidationError.WithFieldTree[]>;
/**