-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(public forms): default values can now include dynamic values lik…
…e current date (#2635) closes #2401 --------- Co-authored-by: Sebastian <[email protected]>
- Loading branch information
Showing
10 changed files
with
192 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
import { Entity } from "../../core/entity/model/entity"; | ||
import { DatabaseEntity } from "../../core/entity/database-entity.decorator"; | ||
import { DatabaseField } from "../../core/entity/database-field.decorator"; | ||
import { FieldGroup } from "app/core/entity-details/form/field-group"; | ||
|
||
@DatabaseEntity("PublicFormConfig") | ||
export class PublicFormConfig extends Entity { | ||
@DatabaseField() title: string; | ||
@DatabaseField() description: string; | ||
@DatabaseField() entity: string; | ||
@DatabaseField() columns: string[][]; | ||
@DatabaseField() columns: FieldGroup[]; | ||
|
||
/** @deprecated use ColumnConfig directly in the columns array instead */ | ||
@DatabaseField() prefilled: { [key in string]: any }; | ||
} |
Oops, something went wrong.