Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/hpcc-systems/Tombolo into ya…
Browse files Browse the repository at this point in the history
…dhap/job-schedular-refactor
  • Loading branch information
ydahal1 committed Jan 5, 2024
2 parents a4a7be7 + 7702df0 commit a18dbcc
Showing 1 changed file with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,23 @@ const AddEditModel = ({ visible, setModalVisibility, hooks, setHooks, isEditing,
pattern: /^[a-zA-Z0-9() _-]+$/,
message: 'Valid characters for hook name includes a-z, A-Z, 0-9, (, ), -, and _',
},
{
max: 100,
message: 'Name cannot be longer than 100 characters',
},
]}>
<Input placeholder="Name" />
</Form.Item>
<Form.Item name="url" label="URL" rules={[{ required: true, message: 'Please enter a URL' }]}>
<Form.Item
name="url"
label="URL"
rules={[
{ required: true, message: 'Please enter a URL' },
{
max: 350,
message: 'The hook URL cannot be longer than 350 characters',
},
]}>
<Input placeholder="URL" />
</Form.Item>
</Form>
Expand Down

0 comments on commit a18dbcc

Please sign in to comment.