projects/UILibrary/src/app/models/login.interface.ts
Properties |
|
| invalidMessage |
invalidMessage:
|
Type : string
|
| isInvalid |
isInvalid:
|
Type : boolean
|
| Optional |
| isRequired |
isRequired:
|
Type : boolean
|
| Optional |
| name |
name:
|
Type : string
|
| placeholder |
placeholder:
|
Type : string
|
| Optional |
| type |
type:
|
Type : string
|
| value |
value:
|
Type : string
|
| Optional |
export interface ILoginData {
header: string,
fields: ILoginField[]
}
export interface ILoginField {
name: string,
type: string,
value?: string,
placeholder?: string
isRequired?: boolean
invalidMessage: string;
isInvalid?: boolean;
}