feat(unit): add unit management pages and form components
- Create new unit list and add pages under org-src feature - Implement unit entry form with validation using zod - Update error types to support readonly path property - Refactor field component to use shared error type
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ export interface XError {
|
||||
/** Nilai yang diberikan (untuk validasi) */
|
||||
givenVal?: string
|
||||
/** Path field yang error (untuk form validation) */
|
||||
path?: (string | number)[]
|
||||
path?: readonly (string | number)[]
|
||||
/** Properties tambahan lainnya */
|
||||
[key: string]: any
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user