@ziadshalaby/ngx-zs-component 3.1.1 → 3.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts
CHANGED
|
@@ -322,11 +322,11 @@ declare class Form<T extends Record<string, any>> {
|
|
|
322
322
|
value: T[K] | null;
|
|
323
323
|
valid: boolean;
|
|
324
324
|
};
|
|
325
|
-
|
|
325
|
+
allFilled(allowEmptyFields?: (keyof T)[]): boolean;
|
|
326
326
|
private markAllTouched;
|
|
327
327
|
getValues(): T;
|
|
328
328
|
getValidations(): Record<keyof T, boolean>;
|
|
329
|
-
submit(callback: (values: T) => void,
|
|
329
|
+
submit(callback: (values: T) => void, allowEmptyFields?: (keyof T)[]): void;
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
type ButtonVariant = 'solid' | 'outline';
|