feat: add generate to the string like things

This commit is contained in:
BluJ
2023-05-04 16:15:57 -06:00
parent 0e064d0613
commit 597aa48518
4 changed files with 18 additions and 2 deletions

View File

@@ -44,6 +44,7 @@ export interface ValueSpecText extends ListValueSpecText, WithStandalone {
required: boolean
default: DefaultString | null
disabled: false | string
generate: null | RandomString
/** Immutable means it can only be configed at the first config then never again */
immutable: boolean
}
@@ -54,6 +55,7 @@ export interface ValueSpecTextarea extends WithStandalone {
maxLength: number | null
required: boolean
disabled: false | string
generate: null | RandomString
/** Immutable means it can only be configed at the first config then never again */
immutable: boolean
}
@@ -178,6 +180,8 @@ export interface ListValueSpecText {
minLength: number | null
maxLength: number | null
masked: boolean
generate: null | RandomString
inputmode: "text" | "email" | "tel" | "url"
placeholder: string | null
}