Skip to content

FormRecordRef

type FormRecordRef = {
[fieldApiName: string]: {
info: {
label: string,
type:
| 'text'
| 'number'
| 'toggle'
| 'checkbox'
| 'checkbox-button'
| 'url'
| 'email'
| 'picklist'
| 'tel'
| 'date'
| 'datetime',
options: Option[]
},
ref: '',
value: string | boolean | number,
fieldApiName: string,
objectApiName: string,
mode: 'insert' | 'edit',
},
}