Display validation errors returned by the server
This commit is contained in:
+1
-1
@@ -60,6 +60,6 @@ export interface JmapSetError {
|
||||
export interface ValidationError {
|
||||
type: 'Invalid' | 'Required' | 'MaxLength' | 'MinLength' | 'MaxValue' | 'MinValue';
|
||||
property: string;
|
||||
value?: unknown;
|
||||
value?: string;
|
||||
required?: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user