Skip to content
Snippets Groups Projects
Commit 881822fa authored by deep1401's avatar deep1401
Browse files

Add contains and isequal fields

parent 58198eae
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,7 @@ const CustomEvaluationWidget = (props: WidgetProps<any>) => {
style={{ marginBottom: '0.5rem' }}
/>
<textarea
placeholder="Regular Expression"
placeholder="Regular Expression/String"
value={evaluation.expression}
onChange={(e) =>
handleFieldChange(index, 'expression', e.target.value)
......@@ -127,6 +127,9 @@ const CustomEvaluationWidget = (props: WidgetProps<any>) => {
>
<Option value="boolean">Boolean</Option>
<Option value="number">Number</Option>
<Option value="contains">Contains</Option>
<Option value="isequal">IsEqual</Option>
</Select>
<Button
onClick={() => handleRemoveField(index)}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment