BeechCMS / @beechcms/forms-react / FormBranchSchema
Interface: FormBranchSchema
Properties
accept?
optionalaccept?:string
alias
alias:
string
arrayValue?
optionalarrayValue?:boolean
True for tags branches: the value is submitted as string[].
classification?
optionalclassification?:FormDataClassification
Anything other than public is kept out of the local draft.
defaultValue?
optionaldefaultValue?:unknown
dependsOn?
optionaldependsOn?:ConditionalRule|ConditionalRule[]
helpText?
optionalhelpText?:string
label?
optionallabel?:string
maxSizeMb?
optionalmaxSizeMb?:number
options?
optionaloptions?:object[]
Choice list for select-like branches. color (#RRGGBB) is set on tags options.
color?
optionalcolor?:string
label
label:
string
value
value:
string|number
placeholder?
optionalplaceholder?:string
required?
optionalrequired?:boolean
type
type:
FormBranchType