Skip to content

BeechCMS


BeechCMS / @beechcms/forms-react / FormBranchSchema

Interface: FormBranchSchema ​

Properties ​

accept? ​

optional accept?: string


alias ​

alias: string


arrayValue? ​

optional arrayValue?: boolean

True for tags branches: the value is submitted as string[].


classification? ​

optional classification?: FormDataClassification

Anything other than public is kept out of the local draft.


defaultValue? ​

optional defaultValue?: unknown


dependsOn? ​

optional dependsOn?: ConditionalRule | ConditionalRule[]


helpText? ​

optional helpText?: string


label? ​

optional label?: string


maxSizeMb? ​

optional maxSizeMb?: number


options? ​

optional options?: object[]

Choice list for select-like branches. color (#RRGGBB) is set on tags options.

color? ​

optional color?: string

label ​

label: string

value ​

value: string | number


placeholder? ​

optional placeholder?: string


required? ​

optional required?: boolean


type ​

type: FormBranchType