Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
{
key: ResultTypeOperator.LessThan,
text: strings.ResultTypes.LessThanOperator
}
]
},
{
id: 'value',
title: strings.ResultTypes.ConditionValueLabel,
type: CustomCollectionFieldType.string,
required: false,
},
{
id: "inlineTemplateContent",
title: "Inline template",
type: CustomCollectionFieldType.custom,
onCustomRender: (field, value, onUpdate) => {
return (
React.createElement("div", null,
React.createElement(this._textDialogComponent.TextDialog, {
language: this._propertyFieldCodeEditorLanguages.Handlebars,
dialogTextFieldValue: value ? value : dialogTextFieldValue,
onChanged: (fieldValue) => onUpdate(field.id, fieldValue),
strings: {
cancelButtonText: strings.CancelButtonText,
dialogButtonText: strings.DialogButtonText,
dialogTitle: strings.DialogTitle,
saveButtonText: strings.SaveButtonText
}
})
)
);