| onChange: (value: string | number, varKindType: VarKindType, varInfo?: Var) => void | onChange: (value: string | number, varKindType: VarKindType, varInfo?: Var) => void | ||||
| } | } | ||||
| const DEFAULT_SCHEMA = {} as CredentialFormSchema | |||||
| const ConstantField: FC<Props> = ({ | const ConstantField: FC<Props> = ({ | ||||
| schema = {} as CredentialFormSchema, | |||||
| schema = DEFAULT_SCHEMA, | |||||
| readonly, | readonly, | ||||
| value, | value, | ||||
| onChange, | onChange, |