Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/app/create/[id]/createBlueprintSteps/PatternDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ const PatternDetails = ({
errorMessage={validationErrors.description}
/>
{/* TODO: Add check for email body max length */}
{ (emlContent && id !== 'new') || skipEmlUpload ? null : (
{(emlContent && id !== 'new') || skipEmlUpload ? null : (
<DragAndDropFile
accept=".eml"
file={file}
Expand Down Expand Up @@ -336,6 +336,7 @@ const PatternDetails = ({
placeholder="1024"
type="number"
min={0}
step={64}
error={!!validationErrors.emailHeaderMaxLength}
errorMessage={
validationErrors.emailHeaderMaxLength
Expand Down