Improved Formular
This commit is contained in:
@@ -4,7 +4,7 @@ export class Formular {
|
|||||||
public minitext: string;
|
public minitext: string;
|
||||||
public ispublic: boolean;
|
public ispublic: boolean;
|
||||||
public multiple: boolean;
|
public multiple: boolean;
|
||||||
public fields: Field[];
|
public fields: MyField[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum FieldType {
|
export enum FieldType {
|
||||||
@@ -21,7 +21,7 @@ export enum FieldType {
|
|||||||
TEXTAREA = "textarea"
|
TEXTAREA = "textarea"
|
||||||
}
|
}
|
||||||
|
|
||||||
export class Field {
|
export class MyField {
|
||||||
id?: number;
|
id?: number;
|
||||||
formular: number;
|
formular: number;
|
||||||
name: string;
|
name: string;
|
||||||
@@ -30,7 +30,8 @@ export class Field {
|
|||||||
displayvalue?: string | null;
|
displayvalue?: string | null;
|
||||||
placeholder?: string | null;
|
placeholder?: string | null;
|
||||||
type: FieldType;
|
type: FieldType;
|
||||||
title?: string | null; required: boolean;
|
title?: string | null;
|
||||||
|
required: boolean;
|
||||||
maxlength?: number | null;
|
maxlength?: number | null;
|
||||||
min?: number | null;
|
min?: number | null;
|
||||||
max?: number | null;
|
max?: number | null;
|
||||||
|
|||||||
Reference in New Issue
Block a user