mirror of
https://github.com/hexastack/hexabot
synced 2025-06-16 19:29:45 +00:00
fix: add suggestion
This commit is contained in:
parent
ca633b52fb
commit
caaee58072
@ -35,6 +35,7 @@ export class ContentField {
|
|||||||
label: string;
|
label: string;
|
||||||
|
|
||||||
@IsString()
|
@IsString()
|
||||||
|
@IsNotEmpty()
|
||||||
@IsEnum(FieldType, {
|
@IsEnum(FieldType, {
|
||||||
message:
|
message:
|
||||||
"type must be one of the following values: 'text', 'url', 'textarea', 'checkbox', 'file', 'html'",
|
"type must be one of the following values: 'text', 'url', 'textarea', 'checkbox', 'file', 'html'",
|
||||||
|
Loading…
Reference in New Issue
Block a user