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